Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009269/0.0009272, allocations: 174.6 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.5 MB / 229.6 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008979, allocations: 82.05 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5198/0.5198, allocations: 78.07 MB / 409.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.384e-05, allocations: 0 / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 69.36 MB / 0.5413 GB, free: 6.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.527, allocations: 97.44 MB / 0.6364 GB, free: 2.094 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.5272, allocations: 81.41 kB / 0.6365 GB, free: 2.016 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07955/0.6068, allocations: 29.59 MB / 0.6654 GB, free: 4.445 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6068, allocations: 0 / 0.6654 GB, free: 4.445 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.939e-05/0.6069, allocations: 27.92 kB / 0.6654 GB, free: 4.418 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00467/0.6116, allocations: 1.683 MB / 0.6671 GB, free: 2.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6116, allocations: 8.031 kB / 0.6671 GB, free: 2.672 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003774/0.6154, allocations: 0.5603 MB / 0.6676 GB, free: 2.109 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.6172, allocations: 0.7684 MB / 0.6684 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.6175, allocations: 206.4 kB / 0.6686 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.6177, allocations: 51.94 kB / 0.6686 GB, free: 1.004 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001395/0.6191, allocations: 0.7967 MB / 0.6694 GB, free: 212 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.6205, allocations: 0.826 MB / 0.6702 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6206, allocations: 0 / 0.6702 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.6207, allocations: 4 kB / 0.6702 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6207, allocations: 16 kB / 0.6702 GB, free: 15.34 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.006228/0.6269, allocations: 3.704 MB / 0.6739 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.634, allocations: 2.569 MB / 0.6764 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000721/0.6348, allocations: 0.5093 MB / 0.6769 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.6349, allocations: 32.73 kB / 0.6769 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.6349, allocations: 47.28 kB / 0.6769 GB, free: 8.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.264e-06/0.6349, allocations: 0 / 0.6769 GB, free: 8.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01151/0.6464, allocations: 3.793 MB / 0.6806 GB, free: 4.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.6465, allocations: 141.3 kB / 0.6808 GB, free: 4.223 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.6476, allocations: 0.8183 MB / 0.6816 GB, free: 3.391 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/0.6477, allocations: 26.92 kB / 0.6816 GB, free: 3.359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.648, allocations: 0.5011 MB / 0.6821 GB, free: 2.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.6483, allocations: 319.2 kB / 0.6824 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.6484, allocations: 0 / 0.6824 GB, free: 2.535 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6485, allocations: 341.9 kB / 0.6827 GB, free: 2.195 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.6493, allocations: 422.6 kB / 0.6831 GB, free: 1.781 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.65, allocations: 0.5349 MB / 0.6837 GB, free: 1.203 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.6508, allocations: 480.9 kB / 0.6841 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6508, allocations: 0 / 0.6841 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01174/0.6625, allocations: 3.938 MB / 0.688 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004844/0.663, allocations: 1.202 MB / 0.6891 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.6631, allocations: 7.953 kB / 0.6891 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005088/0.6681, allocations: 1.453 MB / 0.6906 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.6692, allocations: 160.5 kB / 0.6907 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.6819, allocations: 6.394 MB / 0.697 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6834, allocations: 167.3 kB / 0.6971 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/0.6835, allocations: 32 kB / 0.6971 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.6835, allocations: 8 kB / 0.6972 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01156/0.6951, allocations: 3.786 MB / 0.7008 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6951, allocations: 0.5469 kB / 0.7009 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/0.7, allocations: 1.455 MB / 0.7023 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.7008, allocations: 159.7 kB / 0.7024 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.7134, allocations: 6.402 MB / 0.7087 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.7148, allocations: 159.4 kB / 0.7088 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.7149, allocations: 35.98 kB / 0.7089 GB, free: 7.023 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003506/0.7153, allocations: 145.7 kB / 0.709 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.7155, allocations: 126.5 kB / 0.7091 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.727, allocations: 3.897 MB / 0.7129 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.7271, allocations: 12 kB / 0.7129 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7271, allocations: 4 kB / 0.7129 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.7271, allocations: 3.984 kB / 0.7129 GB, free: 2.809 MB / 0.5105 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.01401/0.7412, allocations: 5.408 MB / 0.7182 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7412, allocations: 0 / 0.7182 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.7418, allocations: 115.8 kB / 0.7183 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/0.7464, allocations: 1.41 MB / 0.7197 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.7465, allocations: 8 kB / 0.7197 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.7574, allocations: 5.628 MB / 0.7252 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7574, allocations: 176 / 0.7252 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.7701, allocations: 4.612 MB / 0.7297 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.7705, allocations: 219.3 kB / 0.7299 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7707, allocations: 4 kB / 0.7299 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7719, allocations: 123.9 kB / 0.7301 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/0.7724, allocations: 181.4 kB / 0.7302 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.7724, allocations: 20 kB / 0.7302 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008489/0.7733, allocations: 0.6253 MB / 0.7309 GB, free: 204 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7733, allocations: 4 kB / 0.7309 GB, free: 200 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001812/0.7751, allocations: 0.6006 MB / 0.7314 GB, free: 15.59 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/0.7755, allocations: 137.2 kB / 0.7316 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008214/0.7837, allocations: 3.459 MB / 0.735 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7837, allocations: 0 / 0.735 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.7873, allocations: 1.393 MB / 0.7363 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.7881, allocations: 103.7 kB / 0.7364 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.791, allocations: 1.657 MB / 0.738 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.7916, allocations: 1.154 MB / 0.7392 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007751/0.7924, allocations: 193.7 kB / 0.7393 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.7926, allocations: 59.42 kB / 0.7394 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.7926, allocations: 0 / 0.7394 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of Templates: time 0.2758/1.068, allocations: 25.56 MB / 0.7644 GB, free: 148.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)