Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009449/0.0009448, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 88.73 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4481/0.4481, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.435e-05, allocations: 4 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2909, allocations: 69.33 MB / 0.548 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4086, allocations: 101.4 MB / 0.647 GB, free: 15.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4089, allocations: 79.95 kB / 0.6471 GB, free: 15.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5142/0.9231, allocations: 99.9 MB / 0.7446 GB, free: 63.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.9231, allocations: 0 / 0.7446 GB, free: 63.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001953/0.9234, allocations: 88 kB / 0.7447 GB, free: 63.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01553/0.9389, allocations: 5.754 MB / 0.7504 GB, free: 57.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.939, allocations: 11.97 kB / 0.7504 GB, free: 57.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.9553, allocations: 2.783 MB / 0.7531 GB, free: 54.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/0.96, allocations: 2.214 MB / 0.7552 GB, free: 52.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006805/0.9607, allocations: 0.9924 MB / 0.7562 GB, free: 51.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006461/0.9614, allocations: 340 kB / 0.7565 GB, free: 50.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006822/0.9682, allocations: 4.08 MB / 0.7605 GB, free: 46.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/0.9683, allocations: 3.953 kB / 0.7605 GB, free: 46.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.9687, allocations: 140 kB / 0.7607 GB, free: 46.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.9687, allocations: 87.98 kB / 0.7607 GB, free: 46.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005781/0.9745, allocations: 3.609 MB / 0.7643 GB, free: 42.77 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/1.003, allocations: 18.58 MB / 0.7824 GB, free: 23.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009101/1.012, allocations: 4.79 MB / 0.7871 GB, free: 18.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/1.015, allocations: 2.219 MB / 0.7893 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006694/1.016, allocations: 74.89 kB / 0.7893 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005078/1.021, allocations: 2.597 MB / 0.7919 GB, free: 13.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 6.412e-06/1.021, allocations: 0 / 0.7919 GB, free: 13.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05091/1.072, allocations: 17.58 MB / 0.809 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/1.072, allocations: 141.8 kB / 0.8092 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/1.077, allocations: 2.65 MB / 0.8118 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001282/1.078, allocations: 93.64 kB / 0.8118 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.08, allocations: 1.998 MB / 0.8138 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/1.082, allocations: 1.305 MB / 0.8151 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/1.082, allocations: 76.03 kB / 0.8151 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002647/1.083, allocations: 441.7 kB / 0.8156 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/1.086, allocations: 1.831 MB / 0.8173 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.089, allocations: 2.41 MB / 0.8197 GB, free: 340 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/1.092, allocations: 2.091 MB / 0.8217 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.092, allocations: 8 kB / 0.8218 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05251/1.145, allocations: 17.73 MB / 0.8391 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/1.145, allocations: 63.41 kB / 0.8391 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.145, allocations: 16 kB / 0.8391 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/1.169, allocations: 6.981 MB / 0.846 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/1.172, allocations: 0.5617 MB / 0.8465 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05944/1.232, allocations: 25.78 MB / 0.8717 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006197/1.238, allocations: 0.6996 MB / 0.8724 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007891/1.239, allocations: 140 kB / 0.8725 GB, free: 9.98 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008489/1.239, allocations: 326.9 kB / 0.8728 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.241, allocations: 458.4 kB / 0.8732 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05286/1.294, allocations: 18.12 MB / 0.8909 GB, free: 7.004 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/1.294, allocations: 36 kB / 0.891 GB, free: 6.969 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-05/1.294, allocations: 31.94 kB / 0.891 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001201/1.294, allocations: 23.92 kB / 0.891 GB, free: 6.914 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4554/1.749, allocations: 23.06 MB / 0.9136 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.747e-05/1.749, allocations: 0 / 0.9136 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/1.753, allocations: 393.6 kB / 0.9139 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02551/1.778, allocations: 7.031 MB / 0.9208 GB, free: 138 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/1.779, allocations: 73.2 kB / 0.9209 GB, free: 138 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0524/1.832, allocations: 24.5 MB / 0.9448 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.832, allocations: 1.219 kB / 0.9448 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05315/1.885, allocations: 20.94 MB / 0.9652 GB, free: 124 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.887, allocations: 0.5613 MB / 0.9658 GB, free: 123.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009311/1.887, allocations: 64 kB / 0.9658 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004425/1.892, allocations: 0.4896 MB / 0.9663 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00298/1.895, allocations: 0.7835 MB / 0.9671 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/1.895, allocations: 91.61 kB / 0.9672 GB, free: 122.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002619/1.898, allocations: 2.007 MB / 0.9691 GB, free: 120.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.898, allocations: 0 / 0.9691 GB, free: 120.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005927/1.904, allocations: 1.754 MB / 0.9708 GB, free: 119 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006442/1.905, allocations: 218 kB / 0.9711 GB, free: 118.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0204/1.925, allocations: 8.223 MB / 0.9791 GB, free: 111.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.925, allocations: 448 / 0.9791 GB, free: 111.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0176/1.943, allocations: 6.107 MB / 0.985 GB, free: 106 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.946, allocations: 307.7 kB / 0.9853 GB, free: 105.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.961, allocations: 5.815 MB / 0.991 GB, free: 100.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/1.964, allocations: 2.531 MB / 0.9935 GB, free: 98.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002169/1.966, allocations: 296.7 kB / 0.9938 GB, free: 98.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.967, allocations: 194.2 kB / 0.994 GB, free: 98.11 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/1.967, allocations: 0 / 0.994 GB, free: 98.11 MB / 0.573 GB Notification: Performance of Templates: time 0.1174/2.085, allocations: 78.05 MB / 1.07 GB, free: 33.61 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)