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.0009014/0.0009014, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.9251/0.9251, allocations: 177.2 MB / 200 MB, free: 5.812 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.001249/0.001249, allocations: 164.6 kB / 256.6 MB, free: 13.12 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.292/0.292, allocations: 80.35 MB / 393.5 MB, free: 2.113 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.182e-06/1.182e-06, allocations: 0 / 490 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.788e-05, allocations: 2.312 kB / 490 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.008911/0.008929, allocations: 13.03 MB / 0.4912 GB, free: 14.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.01569, allocations: 3.536 MB / 0.4947 GB, free: 10.87 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.01699, allocations: 29.22 kB / 0.4947 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.01813, allocations: 0.5614 MB / 0.4953 GB, free: 10.28 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.02093, allocations: 1.62 MB / 0.4969 GB, free: 8.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.02314, allocations: 1.552 MB / 0.4984 GB, free: 7.145 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.02596, allocations: 3.826 MB / 0.5021 GB, free: 3.301 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.02663, allocations: 0.5815 MB / 0.5027 GB, free: 2.664 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.02841, allocations: 2.174 MB / 0.5048 GB, free: 496 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.02971, allocations: 1.616 MB / 0.5064 GB, free: 14.86 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.03005, allocations: 296 kB / 0.5067 GB, free: 14.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.03064, allocations: 459.7 kB / 0.5071 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.03109, allocations: 0.7972 MB / 0.5079 GB, free: 13.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008118/0.0319, allocations: 1.106 MB / 0.509 GB, free: 12.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.03403, allocations: 2.945 MB / 0.5118 GB, free: 9.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.03404, allocations: 0 / 0.5118 GB, free: 9.258 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03404, allocations: 0 / 0.5118 GB, free: 9.258 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.03407, allocations: 0 / 0.5118 GB, free: 9.258 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.01168/0.04575, allocations: 7.676 MB / 0.5193 GB, free: 1.461 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.04578, allocations: 12.03 kB / 0.5193 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008019/0.0538, allocations: 2.729 MB / 0.522 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.05576, allocations: 1.785 MB / 0.5237 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.05617, allocations: 0.814 MB / 0.5245 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.05646, allocations: 220 kB / 0.5247 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.0591, allocations: 2.027 MB / 0.5267 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.05913, allocations: 0 / 0.5267 GB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.0593, allocations: 80 kB / 0.5268 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.05933, allocations: 52 kB / 0.5269 GB, free: 9.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.06149, allocations: 1.331 MB / 0.5282 GB, free: 8.082 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.008793/0.07028, allocations: 6.986 MB / 0.535 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.07406, allocations: 2.147 MB / 0.5371 GB, free: 14.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.07524, allocations: 0.9014 MB / 0.538 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.07545, allocations: 53.92 kB / 0.538 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/0.07706, allocations: 1.329 MB / 0.5393 GB, free: 12.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 3.887e-06/0.07707, allocations: 0 / 0.5393 GB, free: 12.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=250): time 0.05228/0.1293, allocations: 21.78 MB / 0.5606 GB, free: 6.523 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.1294, allocations: 184.2 kB / 0.5608 GB, free: 6.305 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.1315, allocations: 2.096 MB / 0.5628 GB, free: 4.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.1317, allocations: 73.77 kB / 0.5629 GB, free: 4.121 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006563/0.1323, allocations: 1.258 MB / 0.5641 GB, free: 2.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006441/0.133, allocations: 0.9257 MB / 0.565 GB, free: 1.918 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007741/0.1337, allocations: 0.5849 MB / 0.5656 GB, free: 1.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.1338, allocations: 476.8 kB / 0.566 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.1353, allocations: 0.9735 MB / 0.567 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.1369, allocations: 1.442 MB / 0.5684 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/0.1414, allocations: 3.786 MB / 0.5721 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.1414, allocations: 8 kB / 0.5721 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01693/0.1584, allocations: 8.612 MB / 0.5805 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.1584, allocations: 114.8 kB / 0.5806 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.1584, allocations: 8 kB / 0.5806 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/0.1729, allocations: 5.458 MB / 0.5859 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.1745, allocations: 0.5772 MB / 0.5865 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/0.1941, allocations: 9.775 MB / 0.5961 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.1962, allocations: 414 kB / 0.5965 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.1964, allocations: 120 kB / 0.5966 GB, free: 0.9141 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.0006748/0.1971, allocations: 381 kB / 0.5969 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.1976, allocations: 393.9 kB / 0.5973 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1806/0.3782, allocations: 7.864 MB / 0.605 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.3782, allocations: 26.72 kB / 0.605 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.3782, allocations: 22.72 kB / 0.605 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.3783, allocations: 16 kB / 0.605 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/0.3975, allocations: 10.22 MB / 0.615 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3975, allocations: 8.25 kB / 0.615 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000782/0.3983, allocations: 248.1 kB / 0.6153 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/0.4115, allocations: 5.315 MB / 0.6205 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/0.4117, allocations: 54.44 kB / 0.6205 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.4296, allocations: 13.39 MB / 0.6336 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4296, allocations: 3.656 kB / 0.6336 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.4461, allocations: 8.846 MB / 0.6422 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.4466, allocations: 345.6 kB / 0.6426 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.4469, allocations: 44 kB / 0.6426 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.4482, allocations: 223.4 kB / 0.6428 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/0.4492, allocations: 0.5683 MB / 0.6434 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.4493, allocations: 67.98 kB / 0.6434 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001072/0.4504, allocations: 1.261 MB / 0.6447 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4504, allocations: 0 / 0.6447 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002104/0.4525, allocations: 1.192 MB / 0.6458 GB, free: 127.1 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.0003812/0.4529, allocations: 186.1 kB / 0.646 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006813/0.4597, allocations: 4.54 MB / 0.6504 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4597, allocations: 0 / 0.6504 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004667/0.4644, allocations: 3.326 MB / 0.6537 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009889/0.4654, allocations: 320.3 kB / 0.654 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.4708, allocations: 5.039 MB / 0.6589 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.4711, allocations: 0.5406 MB / 0.6594 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004642/0.4716, allocations: 262.6 kB / 0.6597 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.472, allocations: 176.5 kB / 0.6599 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.472, allocations: 0 / 0.6599 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.05733/0.5294, allocations: 74.52 MB / 0.7326 GB, free: 38.42 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.476948884315789]