Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001056/0.001056, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9844/0.9844, allocations: 177.1 MB / 200.5 MB, free: 5.828 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.001257/0.001257, allocations: 164.5 kB / 257 MB, free: 13.2 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.2727/0.2727, allocations: 80.36 MB / 393.8 MB, free: 2.176 MB / 314.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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 490 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.983e-05, allocations: 6.438 kB / 490 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01388/0.01391, allocations: 12.98 MB / 0.4912 GB, free: 14.72 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009745/0.02365, allocations: 3.54 MB / 0.4947 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.02772, allocations: 28 kB / 0.4947 GB, free: 11.17 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.03034, allocations: 0.5575 MB / 0.4952 GB, free: 10.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.03796, allocations: 1.62 MB / 0.4968 GB, free: 8.988 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.04228, allocations: 1.553 MB / 0.4983 GB, free: 7.477 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006828/0.04911, allocations: 3.826 MB / 0.5021 GB, free: 3.637 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.05061, allocations: 0.5825 MB / 0.5026 GB, free: 2.996 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004755/0.05536, allocations: 2.17 MB / 0.5048 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.0581, allocations: 1.605 MB / 0.5063 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009215/0.05903, allocations: 299.9 kB / 0.5066 GB, free: 14.92 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.06035, allocations: 460.4 kB / 0.5071 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009428/0.06129, allocations: 0.805 MB / 0.5078 GB, free: 13.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.06254, allocations: 1.102 MB / 0.5089 GB, free: 12.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.06577, allocations: 2.937 MB / 0.5118 GB, free: 9.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.06577, allocations: 0 / 0.5118 GB, free: 9.605 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.06578, allocations: 0 / 0.5118 GB, free: 9.605 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.927e-05/0.06582, allocations: 0 / 0.5118 GB, free: 9.605 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01253/0.07835, allocations: 7.688 MB / 0.5193 GB, free: 1.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.07839, allocations: 8.031 kB / 0.5193 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008795/0.08719, allocations: 2.733 MB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.08937, allocations: 1.777 MB / 0.5237 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004488/0.08982, allocations: 0.8178 MB / 0.5245 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.09012, allocations: 223.9 kB / 0.5247 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.09279, allocations: 2.015 MB / 0.5267 GB, free: 9.926 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.09283, allocations: 4 kB / 0.5267 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.093, allocations: 84 kB / 0.5268 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.09304, allocations: 48 kB / 0.5268 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.09517, allocations: 1.331 MB / 0.5281 GB, free: 8.426 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.009195/0.1044, allocations: 6.982 MB / 0.5349 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.1082, allocations: 2.151 MB / 0.537 GB, free: 15.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.1095, allocations: 0.9037 MB / 0.5379 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.1097, allocations: 53.92 kB / 0.538 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.1113, allocations: 1.329 MB / 0.5393 GB, free: 12.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 3.947e-06/0.1113, allocations: 0 / 0.5393 GB, free: 12.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=250): time 0.05338/0.1647, allocations: 21.79 MB / 0.5605 GB, free: 6.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1648, allocations: 188.2 kB / 0.5607 GB, free: 6.637 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.1667, allocations: 2.088 MB / 0.5628 GB, free: 4.539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.1669, allocations: 73.7 kB / 0.5628 GB, free: 4.461 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.168, allocations: 1.254 MB / 0.5641 GB, free: 3.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/0.1687, allocations: 0.9257 MB / 0.565 GB, free: 2.262 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007812/0.1695, allocations: 0.581 MB / 0.5655 GB, free: 1.668 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1696, allocations: 476.8 kB / 0.566 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.1711, allocations: 0.9813 MB / 0.5669 GB, free: 196 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.1728, allocations: 1.438 MB / 0.5683 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005131/0.178, allocations: 3.794 MB / 0.5721 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.178, allocations: 4 kB / 0.5721 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01706/0.195, allocations: 8.608 MB / 0.5805 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/0.1951, allocations: 118.8 kB / 0.5806 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.1951, allocations: 4 kB / 0.5806 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/0.2102, allocations: 5.458 MB / 0.5859 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.212, allocations: 0.5772 MB / 0.5865 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.2327, allocations: 9.776 MB / 0.596 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/0.2356, allocations: 414 kB / 0.5964 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.2358, allocations: 120 kB / 0.5965 GB, free: 1.258 MB / 0.5105 GB 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.0009199/0.2367, allocations: 387.9 kB / 0.5969 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/0.2373, allocations: 397.9 kB / 0.5973 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2259/0.4631, allocations: 7.86 MB / 0.605 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.4632, allocations: 26.44 kB / 0.605 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/0.4632, allocations: 23.05 kB / 0.605 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.4632, allocations: 11.91 kB / 0.605 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0224/0.4856, allocations: 10.23 MB / 0.615 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.4856, allocations: 1.125 kB / 0.615 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009485/0.4866, allocations: 250.7 kB / 0.6152 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/0.5005, allocations: 5.312 MB / 0.6204 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.5007, allocations: 57.58 kB / 0.6205 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/0.5193, allocations: 13.38 MB / 0.6335 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5193, allocations: 7.312 kB / 0.6336 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.5355, allocations: 8.84 MB / 0.6422 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.536, allocations: 349.4 kB / 0.6425 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.5363, allocations: 44 kB / 0.6426 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.5375, allocations: 231.5 kB / 0.6428 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009627/0.5385, allocations: 0.5683 MB / 0.6433 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.5386, allocations: 67.98 kB / 0.6434 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00109/0.5397, allocations: 1.253 MB / 0.6446 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5397, allocations: 0 / 0.6446 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002138/0.5418, allocations: 1.192 MB / 0.6458 GB, free: 127.4 MB / 0.5105 GB 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.00037/0.5422, allocations: 185.8 kB / 0.646 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006491/0.5487, allocations: 4.545 MB / 0.6504 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5487, allocations: 0 / 0.6504 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/0.5534, allocations: 3.322 MB / 0.6537 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5544, allocations: 327.2 kB / 0.654 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.5598, allocations: 5.028 MB / 0.6589 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.5602, allocations: 0.5445 MB / 0.6594 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005085/0.5607, allocations: 262.6 kB / 0.6597 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.5611, allocations: 184.4 kB / 0.6598 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/0.5611, allocations: 0 / 0.6598 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.05749/0.6186, allocations: 74.51 MB / 0.7326 GB, free: 38.67 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.47965394705534]