Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001024/0.001024, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.9487/0.9487, allocations: 177.2 MB / 201.1 MB, free: 5.434 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.001783/0.001783, allocations: 163.4 kB / 257.7 MB, free: 12.83 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.2763/0.2763, allocations: 80.24 MB / 394.5 MB, free: 1.98 MB / 314.7 MB " [Timeout remaining time 179] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 491.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.675e-05, allocations: 2.312 kB / 491.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009543/0.00956, allocations: 12.62 MB / 0.4919 GB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00468/0.01424, allocations: 3.503 MB / 0.4953 GB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007338/0.01497, allocations: 28 kB / 0.4954 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.0158, allocations: 0.5662 MB / 0.4959 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.01791, allocations: 1.632 MB / 0.4975 GB, free: 8.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.01994, allocations: 1.534 MB / 0.499 GB, free: 6.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.0223, allocations: 3.798 MB / 0.5027 GB, free: 3.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006155/0.02292, allocations: 0.5854 MB / 0.5033 GB, free: 2.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.02477, allocations: 2.178 MB / 0.5054 GB, free: 336 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.026, allocations: 1.601 MB / 0.507 GB, free: 14.72 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.0263, allocations: 295.9 kB / 0.5073 GB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.02679, allocations: 452.3 kB / 0.5077 GB, free: 13.99 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.02722, allocations: 0.7901 MB / 0.5085 GB, free: 13.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007065/0.02792, allocations: 1.098 MB / 0.5095 GB, free: 12.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.03013, allocations: 2.923 MB / 0.5124 GB, free: 9.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.03013, allocations: 0 / 0.5124 GB, free: 9.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.03014, allocations: 0 / 0.5124 GB, free: 9.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.03016, allocations: 0 / 0.5124 GB, free: 9.16 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01172/0.04188, allocations: 7.725 MB / 0.5199 GB, free: 1.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.04191, allocations: 8.031 kB / 0.5199 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/0.04962, allocations: 2.741 MB / 0.5226 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.0515, allocations: 1.699 MB / 0.5243 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004435/0.05194, allocations: 0.8139 MB / 0.5251 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.05224, allocations: 223.9 kB / 0.5253 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.05466, allocations: 1.804 MB / 0.527 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.05469, allocations: 0 / 0.527 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.05487, allocations: 84 kB / 0.5271 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.0549, allocations: 48 kB / 0.5272 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.0564, allocations: 1.058 MB / 0.5282 GB, free: 8.496 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.008587/0.06498, allocations: 6.629 MB / 0.5347 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.06826, allocations: 1.967 MB / 0.5366 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/0.06908, allocations: 0.7374 MB / 0.5373 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.06927, allocations: 57.92 kB / 0.5374 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.07048, allocations: 1.18 MB / 0.5385 GB, free: 13.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.157e-06/0.07049, allocations: 8 kB / 0.5385 GB, free: 13.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.0501/0.1206, allocations: 20.15 MB / 0.5582 GB, free: 9.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1207, allocations: 184.2 kB / 0.5584 GB, free: 9.191 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.1223, allocations: 1.993 MB / 0.5603 GB, free: 7.188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.1225, allocations: 69.7 kB / 0.5604 GB, free: 7.113 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008027/0.1233, allocations: 1.301 MB / 0.5617 GB, free: 5.801 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.124, allocations: 0.9256 MB / 0.5626 GB, free: 4.867 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007346/0.1247, allocations: 0.5923 MB / 0.5631 GB, free: 4.262 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.1248, allocations: 476.8 kB / 0.5636 GB, free: 3.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.126, allocations: 0.8797 MB / 0.5645 GB, free: 2.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.1274, allocations: 1.363 MB / 0.5658 GB, free: 1.371 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1798/0.3072, allocations: 3.505 MB / 0.5692 GB, free: 83.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.3073, allocations: 3.438 kB / 0.5692 GB, free: 83.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01778/0.325, allocations: 8.264 MB / 0.5773 GB, free: 82.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.3251, allocations: 115.7 kB / 0.5774 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.3251, allocations: 10.44 kB / 0.5774 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/0.3382, allocations: 5.232 MB / 0.5825 GB, free: 82.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.3401, allocations: 0.5782 MB / 0.5831 GB, free: 82.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.3556, allocations: 9.095 MB / 0.592 GB, free: 79.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.3578, allocations: 415.2 kB / 0.5924 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.3579, allocations: 91.34 kB / 0.5924 GB, free: 79.46 MB / 442.7 MB Warning: Assuming fixed start value for the following 7 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 (328): * Single equations (assignments): 323 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007535/0.3587, allocations: 391 kB / 0.5928 GB, free: 79.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/0.3591, allocations: 390 kB / 0.5932 GB, free: 78.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.3726, allocations: 7.467 MB / 0.6005 GB, free: 71.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3726, allocations: 24 kB / 0.6005 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.3726, allocations: 20 kB / 0.6005 GB, free: 71.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.3726, allocations: 11.95 kB / 0.6005 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.3878, allocations: 9.53 MB / 0.6098 GB, free: 62.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3878, allocations: 0 / 0.6098 GB, free: 62.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.3885, allocations: 251.6 kB / 0.6101 GB, free: 61.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/0.4004, allocations: 5.258 MB / 0.6152 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.4006, allocations: 47.98 kB / 0.6153 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.4156, allocations: 13.01 MB / 0.628 GB, free: 43.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4156, allocations: 0 / 0.628 GB, free: 43.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.4301, allocations: 8.279 MB / 0.6361 GB, free: 35.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.4307, allocations: 340.8 kB / 0.6364 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.431, allocations: 44 kB / 0.6364 GB, free: 34.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.4321, allocations: 215.8 kB / 0.6366 GB, free: 34.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009752/0.4331, allocations: 0.5722 MB / 0.6372 GB, free: 34.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.4332, allocations: 53.23 kB / 0.6372 GB, free: 33.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007309/0.434, allocations: 1.134 MB / 0.6383 GB, free: 32.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.434, allocations: 5.203 kB / 0.6383 GB, free: 32.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002266/0.4362, allocations: 1.177 MB / 0.6395 GB, free: 31.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003681/0.4366, allocations: 179.3 kB / 0.6397 GB, free: 31.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006114/0.4427, allocations: 4.201 MB / 0.6438 GB, free: 27.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4427, allocations: 0 / 0.6438 GB, free: 27.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004483/0.4472, allocations: 3.19 MB / 0.6469 GB, free: 23.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4484, allocations: 330 kB / 0.6472 GB, free: 23.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.4542, allocations: 4.964 MB / 0.652 GB, free: 18.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4546, allocations: 0.5414 MB / 0.6526 GB, free: 18.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.4551, allocations: 254.5 kB / 0.6528 GB, free: 17.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.4557, allocations: 386.1 kB / 0.6532 GB, free: 17.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.213e-06/0.4557, allocations: 0 / 0.6532 GB, free: 17.45 MB / 442.7 MB Notification: Performance of Templates: time 0.08123/0.5369, allocations: 77.91 MB / 0.7293 GB, free: 3.797 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.525191858410835]