Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8727/0.8727, allocations: 177.2 MB / 200.3 MB, free: 4.832 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 171.3 kB / 257 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.3818/0.3818, allocations: 83.3 MB / 343.6 MB, free: 6.57 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 388 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.944e-05, allocations: 2.312 kB / 388.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01542/0.01544, allocations: 20.04 MB / 408.1 MB, free: 6.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.02396, allocations: 5.193 MB / 413.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.02548, allocations: 40 kB / 413.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.0268, allocations: 0.9216 MB / 414.2 MB, free: 308 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.03033, allocations: 2.428 MB / 416.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.03311, allocations: 2.051 MB / 418.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004056/0.03717, allocations: 5.909 MB / 424.6 MB, free: 5.863 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/0.03815, allocations: 0.9118 MB / 425.5 MB, free: 4.879 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.04096, allocations: 3.374 MB / 428.9 MB, free: 1.496 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.04283, allocations: 2.328 MB / 431.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004674/0.0433, allocations: 444 kB / 431.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.04401, allocations: 0.6013 MB / 432.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006273/0.04464, allocations: 1.19 MB / 433.5 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.04576, allocations: 1.736 MB / 435.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.04872, allocations: 4.524 MB / 439.7 MB, free: 6.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.04873, allocations: 4 kB / 439.7 MB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04873, allocations: 0 / 439.7 MB, free: 6.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.04876, allocations: 4 kB / 439.7 MB, free: 6.637 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.1566/0.2053, allocations: 9.354 MB / 449.1 MB, free: 60.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2053, allocations: 11.34 kB / 449.1 MB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/0.2183, allocations: 5.133 MB / 454.2 MB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.2205, allocations: 1.788 MB / 456 MB, free: 59.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.2209, allocations: 1.021 MB / 457 MB, free: 58.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.2212, allocations: 351.2 kB / 457.4 MB, free: 58.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.2238, allocations: 2.885 MB / 460.3 MB, free: 58.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.2239, allocations: 0 / 460.3 MB, free: 58.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.2241, allocations: 139.7 kB / 460.4 MB, free: 58.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.2241, allocations: 87.75 kB / 460.5 MB, free: 58.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.2258, allocations: 1.356 MB / 461.8 MB, free: 56.8 MB / 410.7 MB 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.01063/0.2364, allocations: 9.471 MB / 471.3 MB, free: 47.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.2392, allocations: 2.131 MB / 473.4 MB, free: 45.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/0.24, allocations: 0.8219 MB / 474.3 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.2402, allocations: 86.97 kB / 474.4 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.2415, allocations: 1.64 MB / 476 MB, free: 42.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=384): time 5.58e-06/0.2415, allocations: 0 / 476 MB, free: 42.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=384): time 0.1106/0.3521, allocations: 54.06 MB / 0.5176 GB, free: 4.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.3522, allocations: 146.5 kB / 0.5178 GB, free: 4.613 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.3542, allocations: 2.731 MB / 0.5204 GB, free: 1.863 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.3544, allocations: 89.7 kB / 0.5205 GB, free: 1.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.355, allocations: 1.329 MB / 0.5218 GB, free: 440 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000833/0.3558, allocations: 1.395 MB / 0.5232 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008284/0.3567, allocations: 0.6741 MB / 0.5238 GB, free: 14.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.3567, allocations: 302 kB / 0.5241 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.3582, allocations: 0.9467 MB / 0.5251 GB, free: 13.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.3599, allocations: 1.561 MB / 0.5266 GB, free: 11.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/0.3647, allocations: 4.297 MB / 0.5308 GB, free: 6.723 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3648, allocations: 4 kB / 0.5308 GB, free: 6.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01857/0.3833, allocations: 10.43 MB / 0.541 GB, free: 12.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.3834, allocations: 65.12 kB / 0.541 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.3834, allocations: 19.98 kB / 0.541 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01901/0.4024, allocations: 7.241 MB / 0.5481 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.4046, allocations: 0.6748 MB / 0.5488 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/0.4305, allocations: 11.44 MB / 0.5599 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.4333, allocations: 0.5325 MB / 0.5605 GB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.4335, allocations: 112 kB / 0.5606 GB, free: 8.047 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009617/0.4345, allocations: 369.9 kB / 0.5609 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/0.4352, allocations: 405.2 kB / 0.5613 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01891/0.4541, allocations: 9.994 MB / 0.5711 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4541, allocations: 39.94 kB / 0.5711 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.4541, allocations: 31.62 kB / 0.5711 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/0.4541, allocations: 19.92 kB / 0.5712 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/0.4744, allocations: 11.87 MB / 0.5827 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4744, allocations: 4 kB / 0.5828 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4754, allocations: 383.5 kB / 0.5831 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01733/0.4928, allocations: 7.452 MB / 0.5904 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/0.4931, allocations: 71.97 kB / 0.5905 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.5129, allocations: 12.35 MB / 0.6025 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.513, allocations: 0 / 0.6025 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/0.5323, allocations: 10.85 MB / 0.6131 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/0.5331, allocations: 436 kB / 0.6135 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.5335, allocations: 67.98 kB / 0.6136 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.535, allocations: 283.7 kB / 0.6139 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/0.5363, allocations: 0.7723 MB / 0.6146 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.5365, allocations: 67.98 kB / 0.6147 GB, free: 184 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001029/0.5375, allocations: 1.478 MB / 0.6161 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5375, allocations: 0 / 0.6161 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002932/0.5404, allocations: 1.807 MB / 0.6179 GB, free: 12.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003763/0.5408, allocations: 192.4 kB / 0.6181 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008004/0.5488, allocations: 5.256 MB / 0.6232 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.65e-05/0.5488, allocations: 45.81 kB / 0.6233 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006112/0.5549, allocations: 3.997 MB / 0.6272 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.5563, allocations: 451.7 kB / 0.6276 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008269/0.5646, allocations: 7.354 MB / 0.6348 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.5652, allocations: 0.8064 MB / 0.6356 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000781/0.566, allocations: 373.6 kB / 0.6359 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.5668, allocations: 483.3 kB / 0.6364 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/0.5668, allocations: 0 / 0.6364 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of Templates: time 0.2163/0.7831, allocations: 99.58 MB / 0.7336 GB, free: 118.3 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.23965597897768]