Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001473/0.001473, 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.9942/0.9942, allocations: 177.2 MB / 200.3 MB, free: 5.363 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.001947/0.001947, allocations: 159.3 kB / 257 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4252/0.4252, allocations: 80.23 MB / 340.5 MB, free: 9.516 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 383.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.643e-05, allocations: 5.406 kB / 383.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01009/0.01012, allocations: 12.48 MB / 396.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.01812, allocations: 3.666 MB / 400 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.01965, allocations: 31.94 kB / 400.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.02075, allocations: 0.5887 MB / 400.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.02363, allocations: 1.613 MB / 402.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.02594, allocations: 1.525 MB / 403.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.02848, allocations: 3.732 MB / 407.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006342/0.02911, allocations: 0.6166 MB / 408.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.03073, allocations: 2.15 MB / 410.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.03218, allocations: 1.573 MB / 411.9 MB, free: 2.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.03245, allocations: 288 kB / 412.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.03305, allocations: 463.7 kB / 412.6 MB, free: 1.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.03347, allocations: 0.7816 MB / 413.4 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.03414, allocations: 1.086 MB / 414.5 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.03616, allocations: 2.883 MB / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03617, allocations: 0 / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.03617, allocations: 0 / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.03618, allocations: 0 / 417.4 MB, free: 12.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01136/0.04754, allocations: 6.63 MB / 424 MB, free: 6.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.04758, allocations: 8.031 kB / 424 MB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008947/0.05653, allocations: 2.91 MB / 426.9 MB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.05823, allocations: 1.209 MB / 428.1 MB, free: 2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/0.05871, allocations: 0.8139 MB / 428.9 MB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.05897, allocations: 215.9 kB / 429.1 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.06102, allocations: 1.837 MB / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.06105, allocations: 0 / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.0612, allocations: 80 kB / 431.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.06123, allocations: 52 kB / 431.1 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.06276, allocations: 0.8879 MB / 432 MB, free: 13.83 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.007232/0.06999, allocations: 4.958 MB / 437 MB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.07304, allocations: 1.836 MB / 438.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000964/0.074, allocations: 0.6199 MB / 439.4 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.0742, allocations: 49.98 kB / 439.5 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.0754, allocations: 1.184 MB / 440.6 MB, free: 4.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=247): time 3.868e-06/0.0754, allocations: 0 / 440.6 MB, free: 4.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=247): time 0.2518/0.3272, allocations: 21.03 MB / 461.7 MB, free: 59.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3273, allocations: 181.5 kB / 461.8 MB, free: 59.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.3287, allocations: 1.819 MB / 463.7 MB, free: 57.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.3289, allocations: 74.7 kB / 463.7 MB, free: 57.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.3293, allocations: 0.8059 MB / 464.5 MB, free: 57.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.3298, allocations: 0.9138 MB / 465.5 MB, free: 56.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006178/0.3304, allocations: 0.545 MB / 466 MB, free: 56.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.3304, allocations: 301.1 kB / 466.3 MB, free: 56.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3315, allocations: 0.8195 MB / 467.1 MB, free: 55.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.3327, allocations: 1.18 MB / 468.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.3361, allocations: 3.344 MB / 471.6 MB, free: 51.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.3361, allocations: 4 kB / 471.6 MB, free: 51.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01254/0.3486, allocations: 7.612 MB / 479.3 MB, free: 43.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.3487, allocations: 117.8 kB / 479.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3487, allocations: 8 kB / 479.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.3602, allocations: 5.107 MB / 484.5 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.3621, allocations: 0.6822 MB / 485.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.384, allocations: 8.016 MB / 493.2 MB, free: 30.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.3872, allocations: 407.1 kB / 493.6 MB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/0.3876, allocations: 91.95 kB / 493.7 MB, free: 30.2 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false 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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009755/0.3886, allocations: 337.9 kB / 494 MB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005862/0.3891, allocations: 261 kB / 494.3 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/0.4064, allocations: 7.018 MB / 0.4895 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/0.4064, allocations: 24 kB / 0.4895 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/0.4064, allocations: 20 kB / 0.4896 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.45e-05/0.4065, allocations: 12.77 kB / 0.4896 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/0.4293, allocations: 8.421 MB / 0.4978 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.4293, allocations: 0 / 0.4978 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.4308, allocations: 268.9 kB / 0.4981 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/0.4439, allocations: 5.176 MB / 0.5031 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006915/0.4446, allocations: 49.38 kB / 0.5032 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/0.4601, allocations: 10.51 MB / 0.5134 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4601, allocations: 3.938 kB / 0.5134 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.4755, allocations: 7.688 MB / 0.5209 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009256/0.4764, allocations: 285.5 kB / 0.5212 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.4768, allocations: 47.44 kB / 0.5213 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.4781, allocations: 215.8 kB / 0.5215 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00152/0.4796, allocations: 0.572 MB / 0.522 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.4798, allocations: 51.98 kB / 0.5221 GB, free: 4.715 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.4808, allocations: 0.9729 MB / 0.523 GB, free: 3.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4808, allocations: 1.094 kB / 0.523 GB, free: 3.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003135/0.4839, allocations: 1.175 MB / 0.5242 GB, free: 2.555 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.4843, allocations: 152.1 kB / 0.5243 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007474/0.4918, allocations: 3.978 MB / 0.5282 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.376e-05/0.4919, allocations: 24 kB / 0.5282 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005303/0.4972, allocations: 2.864 MB / 0.531 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.4989, allocations: 320.8 kB / 0.5313 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/0.5066, allocations: 4.801 MB / 0.536 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.5073, allocations: 0.5408 MB / 0.5365 GB, free: 5.629 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007894/0.508, allocations: 246.5 kB / 0.5368 GB, free: 5.387 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007096/0.5087, allocations: 375.3 kB / 0.5371 GB, free: 5.02 MB / 442.7 MB Notification: Performance of SimCode: time 2.294e-06/0.5088, allocations: 0 / 0.5371 GB, free: 5.02 MB / 442.7 MB Notification: Performance of Templates: time 0.08726/0.596, allocations: 72.18 MB / 0.6076 GB, free: 13.35 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.081326417159289]