Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004695/0.004695, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.212/1.212, allocations: 223.2 MB / 239 MB, free: 1.773 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.0008472/0.0008469, allocations: 95.45 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4227/0.4227, allocations: 78.6 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 16 kB / 499.8 MB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 69.34 MB / 0.5558 GB, free: 38.72 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4948, allocations: 100.3 MB / 0.6537 GB, free: 6.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4951, allocations: 87.94 kB / 0.6538 GB, free: 6.121 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1719/0.667, allocations: 69.52 MB / 0.7217 GB, free: 224 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.09e-05/0.6671, allocations: 0 / 0.7217 GB, free: 224 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001452/0.6672, allocations: 59.94 kB / 0.7218 GB, free: 164 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01336/0.6806, allocations: 4.63 MB / 0.7263 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6806, allocations: 8.031 kB / 0.7263 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009795/0.6905, allocations: 1.615 MB / 0.7279 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.6943, allocations: 1.705 MB / 0.7295 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006317/0.6949, allocations: 0.737 MB / 0.7302 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004177/0.6954, allocations: 219.9 kB / 0.7305 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006033/0.7014, allocations: 3.2 MB / 0.7336 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.7015, allocations: 0 / 0.7336 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.7017, allocations: 83.95 kB / 0.7337 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.7018, allocations: 52 kB / 0.7337 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005804/0.7076, allocations: 2.975 MB / 0.7366 GB, free: 0.5703 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01735/0.7249, allocations: 9.92 MB / 0.7463 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.7364, allocations: 4.873 MB / 0.7511 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.7368, allocations: 45.91 kB / 0.7511 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004751/0.7415, allocations: 2.408 MB / 0.7535 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=248): time 4.148e-06/0.7415, allocations: 0 / 0.7535 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.3735/1.115, allocations: 30.9 MB / 0.7836 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/1.115, allocations: 182.8 kB / 0.7838 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/1.118, allocations: 1.921 MB / 0.7857 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006578/1.119, allocations: 71.64 kB / 0.7858 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009085/1.12, allocations: 1.188 MB / 0.7869 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008679/1.121, allocations: 0.8493 MB / 0.7877 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.121, allocations: 46.31 kB / 0.7878 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.121, allocations: 402 kB / 0.7882 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/1.125, allocations: 1.88 MB / 0.79 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/1.128, allocations: 2.194 MB / 0.7921 GB, free: 117 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/1.133, allocations: 2.107 MB / 0.7942 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/1.133, allocations: 2.25 kB / 0.7942 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04239/1.175, allocations: 14.46 MB / 0.8083 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.952e-05/1.175, allocations: 116.9 kB / 0.8084 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.175, allocations: 10.14 kB / 0.8085 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.019/1.194, allocations: 6.434 MB / 0.8147 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.196, allocations: 422.6 kB / 0.8151 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05551/1.252, allocations: 26.45 MB / 0.841 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/1.256, allocations: 0.5409 MB / 0.8415 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/1.256, allocations: 94.3 kB / 0.8416 GB, free: 108.9 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001426/1.258, allocations: 0.5031 MB / 0.8421 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007204/1.259, allocations: 304 kB / 0.8424 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03892/1.298, allocations: 14.74 MB / 0.8568 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/1.298, allocations: 28 kB / 0.8568 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/1.298, allocations: 19.95 kB / 0.8568 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.332e-05/1.298, allocations: 18.06 kB / 0.8568 GB, free: 102.2 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04367/1.341, allocations: 18.28 MB / 0.8747 GB, free: 88.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.341, allocations: 0 / 0.8747 GB, free: 88.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.343, allocations: 244.2 kB / 0.8749 GB, free: 87.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/1.36, allocations: 6.203 MB / 0.881 GB, free: 83.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007117/1.361, allocations: 51.42 kB / 0.881 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05314/1.414, allocations: 26.89 MB / 0.9073 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.414, allocations: 0 / 0.9073 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04333/1.457, allocations: 17.33 MB / 0.9242 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.459, allocations: 419.1 kB / 0.9246 GB, free: 41.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/1.459, allocations: 51.95 kB / 0.9247 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/1.462, allocations: 407.6 kB / 0.925 GB, free: 41.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/1.464, allocations: 0.5791 MB / 0.9256 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.465, allocations: 67.98 kB / 0.9257 GB, free: 40.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002108/1.467, allocations: 1.484 MB / 0.9271 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.467, allocations: 0 / 0.9271 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003249/1.47, allocations: 1.109 MB / 0.9282 GB, free: 38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004164/1.471, allocations: 188.2 kB / 0.9284 GB, free: 37.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01609/1.487, allocations: 7.044 MB / 0.9353 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.487, allocations: 448 / 0.9353 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0125/1.499, allocations: 5.053 MB / 0.9402 GB, free: 25.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/1.501, allocations: 234.8 kB / 0.9404 GB, free: 25.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/1.51, allocations: 6.457 MB / 0.9467 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.511, allocations: 1.862 MB / 0.9485 GB, free: 16.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001094/1.512, allocations: 217.5 kB / 0.9488 GB, free: 16.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/1.512, allocations: 139.4 kB / 0.9489 GB, free: 16.64 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/1.512, allocations: 0 / 0.9489 GB, free: 16.64 MB / 0.5573 GB Notification: Performance of Templates: time 0.3262/1.839, allocations: 55.31 MB / 1.003 GB, free: 141.7 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)