Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.0009971/0.0009971, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9798/0.9798, allocations: 177.1 MB / 200.5 MB, free: 5.535 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.0013/0.0013, allocations: 167.5 kB / 257 MB, free: 13.06 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.2747/0.2747, allocations: 80.24 MB / 393.7 MB, free: 3.418 MB / 362.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0.5469 kB / 489.9 MB, free: 63.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.751e-05, allocations: 5.219 kB / 489.9 MB, free: 63.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.007293/0.00731, allocations: 12.99 MB / 0.4911 GB, free: 50.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.01192, allocations: 3.52 MB / 0.4945 GB, free: 46.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.01279, allocations: 31.94 kB / 0.4945 GB, free: 46.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.0136, allocations: 0.5698 MB / 0.4951 GB, free: 46.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.01566, allocations: 1.625 MB / 0.4967 GB, free: 44.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.01738, allocations: 1.534 MB / 0.4982 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.01932, allocations: 3.833 MB / 0.5019 GB, free: 39.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.01987, allocations: 0.5862 MB / 0.5025 GB, free: 38.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.02128, allocations: 2.17 MB / 0.5046 GB, free: 36.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.02229, allocations: 1.617 MB / 0.5062 GB, free: 34.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.02255, allocations: 296.6 kB / 0.5065 GB, free: 34.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.02301, allocations: 455.8 kB / 0.5069 GB, free: 34.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.02334, allocations: 0.8021 MB / 0.5077 GB, free: 33.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.02392, allocations: 1.102 MB / 0.5088 GB, free: 32.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.0256, allocations: 2.945 MB / 0.5116 GB, free: 29.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.02561, allocations: 1.938 kB / 0.5116 GB, free: 29.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02561, allocations: 0 / 0.5116 GB, free: 29.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.02564, allocations: 0 / 0.5116 GB, free: 29.3 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01085/0.03649, allocations: 7.674 MB / 0.5191 GB, free: 21.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.03652, allocations: 12.03 kB / 0.5192 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008341/0.04487, allocations: 2.725 MB / 0.5218 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.0466, allocations: 1.785 MB / 0.5236 GB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.04689, allocations: 0.8179 MB / 0.5244 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.04714, allocations: 223.9 kB / 0.5246 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.04951, allocations: 2.015 MB / 0.5265 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.04954, allocations: 0 / 0.5265 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.0497, allocations: 84 kB / 0.5266 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.04972, allocations: 52 kB / 0.5267 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.05171, allocations: 1.323 MB / 0.528 GB, free: 12.19 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.007898/0.05961, allocations: 6.998 MB / 0.5348 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.06325, allocations: 2.151 MB / 0.5369 GB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.06442, allocations: 0.9014 MB / 0.5378 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.06461, allocations: 49.98 kB / 0.5378 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.06615, allocations: 1.329 MB / 0.5391 GB, free: 500 kB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 3.436e-06/0.06616, allocations: 0 / 0.5391 GB, free: 500 kB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.05408/0.1202, allocations: 21.78 MB / 0.5604 GB, free: 10.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.1203, allocations: 192.2 kB / 0.5606 GB, free: 10.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.1226, allocations: 2.088 MB / 0.5626 GB, free: 8.289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003553/0.123, allocations: 69.7 kB / 0.5627 GB, free: 8.215 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006677/0.1236, allocations: 1.254 MB / 0.5639 GB, free: 6.949 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007309/0.1244, allocations: 0.9258 MB / 0.5648 GB, free: 6.016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007375/0.1251, allocations: 0.5771 MB / 0.5654 GB, free: 5.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1252, allocations: 476.8 kB / 0.5658 GB, free: 4.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.1268, allocations: 0.9812 MB / 0.5668 GB, free: 3.949 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.1288, allocations: 1.434 MB / 0.5682 GB, free: 2.363 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.1335, allocations: 3.794 MB / 0.5719 GB, free: 14.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.1335, allocations: 4 kB / 0.5719 GB, free: 14.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01718/0.1507, allocations: 8.616 MB / 0.5803 GB, free: 5.633 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/0.1508, allocations: 114.8 kB / 0.5804 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.1508, allocations: 11.98 kB / 0.5804 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/0.1656, allocations: 5.458 MB / 0.5858 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.1676, allocations: 0.5773 MB / 0.5863 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.1886, allocations: 9.771 MB / 0.5959 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.1912, allocations: 414 kB / 0.5963 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.1915, allocations: 116 kB / 0.5964 GB, free: 5.016 MB / 474.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 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 (330): * Single equations (assignments): 325 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0008734/0.1924, allocations: 391.9 kB / 0.5968 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/0.1929, allocations: 401.9 kB / 0.5971 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/0.2093, allocations: 7.864 MB / 0.6048 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.2093, allocations: 24 kB / 0.6048 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/0.2093, allocations: 23.98 kB / 0.6049 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/0.2094, allocations: 15.95 kB / 0.6049 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/0.2285, allocations: 10.22 MB / 0.6149 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.2285, allocations: 0 / 0.6149 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.2294, allocations: 251.6 kB / 0.6151 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2017/0.431, allocations: 5.319 MB / 0.6203 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004951/0.4315, allocations: 55.47 kB / 0.6203 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.4507, allocations: 13.38 MB / 0.6334 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4507, allocations: 0 / 0.6334 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.4672, allocations: 8.856 MB / 0.6421 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.4677, allocations: 340 kB / 0.6424 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.468, allocations: 50.81 kB / 0.6424 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.4692, allocations: 221.8 kB / 0.6426 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009189/0.4701, allocations: 0.5732 MB / 0.6432 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.4703, allocations: 67.11 kB / 0.6433 GB, free: 123.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.4713, allocations: 1.261 MB / 0.6445 GB, free: 123 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4713, allocations: 4 kB / 0.6445 GB, free: 123 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001902/0.4732, allocations: 1.188 MB / 0.6457 GB, free: 121.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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.0003135/0.4735, allocations: 175.3 kB / 0.6458 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00643/0.4799, allocations: 4.549 MB / 0.6503 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4799, allocations: 0 / 0.6503 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004805/0.4847, allocations: 3.327 MB / 0.6535 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4859, allocations: 312.2 kB / 0.6538 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.4913, allocations: 5.031 MB / 0.6587 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4916, allocations: 0.543 MB / 0.6593 GB, free: 109.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.4921, allocations: 262.5 kB / 0.6595 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.4925, allocations: 179.8 kB / 0.6597 GB, free: 109.1 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4925, allocations: 0 / 0.6597 GB, free: 109.1 MB / 490.7 MB Notification: Performance of Templates: time 0.07283/0.5653, allocations: 74.51 MB / 0.7324 GB, free: 34.91 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.305132313165814]