Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001284/0.001284, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.8881/0.8881, allocations: 177.2 MB / 201 MB, free: 5.703 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.001333/0.001333, allocations: 156.6 kB / 257.7 MB, free: 12.98 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.2961/0.2961, allocations: 83.28 MB / 397.5 MB, free: 14.99 MB / 330.7 MB " [Timeout remaining time 179] 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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 495.2 MB, free: 6.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.654e-05, allocations: 8.031 kB / 495.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01255/0.01258, allocations: 12.61 MB / 0.4959 GB, free: 10.31 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00799/0.02057, allocations: 3.509 MB / 0.4993 GB, free: 6.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.02296, allocations: 28 kB / 0.4993 GB, free: 6.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.02448, allocations: 0.5653 MB / 0.4999 GB, free: 6.223 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.02865, allocations: 1.627 MB / 0.5015 GB, free: 4.598 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.03131, allocations: 1.543 MB / 0.503 GB, free: 3.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.03568, allocations: 3.798 MB / 0.5067 GB, free: 15.28 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.03668, allocations: 0.5776 MB / 0.5073 GB, free: 14.64 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.04035, allocations: 2.174 MB / 0.5094 GB, free: 12.46 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.04256, allocations: 1.597 MB / 0.5109 GB, free: 10.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007713/0.04333, allocations: 296 kB / 0.5112 GB, free: 10.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.04438, allocations: 463.6 kB / 0.5117 GB, free: 10.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.04502, allocations: 0.7856 MB / 0.5124 GB, free: 9.332 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.0465, allocations: 1.102 MB / 0.5135 GB, free: 8.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.05042, allocations: 2.918 MB / 0.5164 GB, free: 5.297 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.05043, allocations: 0 / 0.5164 GB, free: 5.297 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.05043, allocations: 0 / 0.5164 GB, free: 5.297 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.56e-05/0.05052, allocations: 0 / 0.5164 GB, free: 5.297 MB / 442.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.01677/0.06728, allocations: 7.729 MB / 0.5239 GB, free: 13.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.06733, allocations: 8.031 kB / 0.5239 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.07916, allocations: 2.725 MB / 0.5266 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.08246, allocations: 1.719 MB / 0.5283 GB, free: 8.926 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005707/0.08304, allocations: 0.81 MB / 0.529 GB, free: 7.977 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.08352, allocations: 223.9 kB / 0.5293 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.08654, allocations: 1.808 MB / 0.531 GB, free: 5.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/0.08658, allocations: 0 / 0.531 GB, free: 5.855 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.08682, allocations: 84 kB / 0.5311 GB, free: 5.773 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.08686, allocations: 48 kB / 0.5312 GB, free: 5.727 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.08915, allocations: 1.054 MB / 0.5322 GB, free: 4.617 MB / 458.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.01385/0.103, allocations: 6.633 MB / 0.5387 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.1073, allocations: 1.967 MB / 0.5406 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.1084, allocations: 0.7374 MB / 0.5413 GB, free: 11.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.1086, allocations: 53.98 kB / 0.5414 GB, free: 11.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.1101, allocations: 1.186 MB / 0.5425 GB, free: 9.785 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 3.717e-06/0.1101, allocations: 0 / 0.5425 GB, free: 9.785 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.05077/0.1609, allocations: 20.16 MB / 0.5622 GB, free: 5.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.161, allocations: 188.2 kB / 0.5624 GB, free: 5.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.1635, allocations: 1.985 MB / 0.5643 GB, free: 3.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000514/0.1641, allocations: 69.7 kB / 0.5644 GB, free: 3.246 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007366/0.1648, allocations: 1.297 MB / 0.5656 GB, free: 1.938 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000855/0.1657, allocations: 0.9256 MB / 0.5665 GB, free: 1.004 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007631/0.1664, allocations: 0.5924 MB / 0.5671 GB, free: 408 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1665, allocations: 480.8 kB / 0.5676 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.1678, allocations: 0.8797 MB / 0.5684 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.1692, allocations: 1.367 MB / 0.5698 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.1735, allocations: 3.515 MB / 0.5732 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.1735, allocations: 0 / 0.5732 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.01661/0.1901, allocations: 8.268 MB / 0.5813 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/0.1902, allocations: 114.8 kB / 0.5814 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.1902, allocations: 8 kB / 0.5814 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/0.2043, allocations: 5.238 MB / 0.5865 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.2062, allocations: 0.5734 MB / 0.5871 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.2237, allocations: 9.088 MB / 0.596 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.2262, allocations: 414 kB / 0.5963 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.2264, allocations: 91.95 kB / 0.5964 GB, free: 1.723 MB / 0.5105 GB 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.0008359/0.2273, allocations: 399.4 kB / 0.5968 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.2279, allocations: 390 kB / 0.5972 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1742/0.4021, allocations: 7.459 MB / 0.6045 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4021, allocations: 25.75 kB / 0.6045 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/0.4022, allocations: 25.81 kB / 0.6045 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/0.4022, allocations: 12.42 kB / 0.6045 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.4212, allocations: 9.53 MB / 0.6138 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.4212, allocations: 5.031 kB / 0.6138 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4222, allocations: 249.7 kB / 0.6141 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/0.4359, allocations: 5.258 MB / 0.6192 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005256/0.4364, allocations: 53.83 kB / 0.6193 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.4531, allocations: 13 MB / 0.632 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4531, allocations: 3.969 kB / 0.632 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/0.4689, allocations: 8.265 MB / 0.64 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.4696, allocations: 349 kB / 0.6404 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000475/0.4701, allocations: 43.81 kB / 0.6404 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.4714, allocations: 222.1 kB / 0.6406 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/0.4726, allocations: 0.5736 MB / 0.6412 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.4728, allocations: 51.36 kB / 0.6412 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008471/0.4736, allocations: 1.132 MB / 0.6423 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4736, allocations: 0 / 0.6423 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002535/0.4762, allocations: 1.177 MB / 0.6435 GB, free: 127 MB / 0.5105 GB 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.0003577/0.4765, allocations: 186.6 kB / 0.6437 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006739/0.4833, allocations: 4.189 MB / 0.6478 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4833, allocations: 0 / 0.6478 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005204/0.4885, allocations: 3.197 MB / 0.6509 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.4901, allocations: 316.8 kB / 0.6512 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/0.4964, allocations: 4.976 MB / 0.656 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.4968, allocations: 0.5442 MB / 0.6566 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006802/0.4975, allocations: 250.5 kB / 0.6568 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.4981, allocations: 382.1 kB / 0.6572 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.953e-06/0.4981, allocations: 4 kB / 0.6572 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.07831/0.5764, allocations: 77.91 MB / 0.7333 GB, free: 35.4 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.53345171129331]