Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001559/0.001559, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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 1.369/1.369, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.1 MB " [Timeout remaining time 178] 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.001471/0.001471, allocations: 207.6 kB / 310 MB, free: 3.094 MB / 238.1 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.5831/0.5831, allocations: 107.2 MB / 473.6 MB, free: 29.8 MB / 350.1 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 86.77 kB / 0.6343 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 80.14 MB / 0.7125 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007083/0.1275, allocations: 5.825 MB / 0.7182 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.1308, allocations: 1.928 MB / 0.7201 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.1311, allocations: 8 kB / 0.7201 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.1317, allocations: 249.9 kB / 0.7204 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.1334, allocations: 0.8401 MB / 0.7212 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1346, allocations: 0.6318 MB / 0.7218 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.1362, allocations: 1.608 MB / 0.7234 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.1365, allocations: 210.9 kB / 0.7236 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/0.1373, allocations: 0.6769 MB / 0.7242 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009015/0.1382, allocations: 0.7698 MB / 0.725 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.1384, allocations: 120 kB / 0.7251 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.1388, allocations: 283.8 kB / 0.7254 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.1391, allocations: 326.6 kB / 0.7257 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.1396, allocations: 0.5516 MB / 0.7262 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1413, allocations: 1.7 MB / 0.7279 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1413, allocations: 0 / 0.7279 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1414, allocations: 0 / 0.7279 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.1414, allocations: 0 / 0.7279 GB, free: 7.406 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008294/0.1497, allocations: 2.816 MB / 0.7306 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1497, allocations: 12.03 kB / 0.7306 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.1544, allocations: 0.7952 MB / 0.7314 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1559, allocations: 0.8307 MB / 0.7322 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.1562, allocations: 333.3 kB / 0.7325 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.1564, allocations: 87.95 kB / 0.7326 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1585, allocations: 1.115 MB / 0.7337 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1585, allocations: 0 / 0.7337 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.1586, allocations: 32 kB / 0.7337 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.1586, allocations: 20 kB / 0.7338 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.1606, allocations: 1.009 MB / 0.7347 GB, free: 188 kB / 0.4981 GB 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.006133/0.1667, allocations: 2.874 MB / 0.7376 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006981/0.1737, allocations: 2.021 MB / 0.7395 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.175, allocations: 0.6483 MB / 0.7402 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-05/0.1751, allocations: 24.98 kB / 0.7402 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.1767, allocations: 0.8364 MB / 0.741 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.414e-06/0.1767, allocations: 0 / 0.741 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.0271/0.2038, allocations: 6.959 MB / 0.7478 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.2038, allocations: 111.8 kB / 0.7479 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.2053, allocations: 1.058 MB / 0.7489 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.2054, allocations: 45.69 kB / 0.749 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.2058, allocations: 0.4975 MB / 0.7495 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.2061, allocations: 368.9 kB / 0.7498 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.2065, allocations: 275.5 kB / 0.7501 GB, free: 268 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2067, allocations: 305.1 kB / 0.7504 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.2083, allocations: 0.8037 MB / 0.7512 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.21, allocations: 0.9805 MB / 0.7521 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02302/0.233, allocations: 5.762 MB / 0.7577 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.233, allocations: 0 / 0.7577 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01312/0.2462, allocations: 4.344 MB / 0.762 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.2462, allocations: 61.59 kB / 0.762 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2462, allocations: 4 kB / 0.762 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00535/0.2516, allocations: 1.511 MB / 0.7635 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.2531, allocations: 283.6 kB / 0.7638 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/0.2727, allocations: 7.964 MB / 0.7716 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.2744, allocations: 199.1 kB / 0.7718 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.2746, allocations: 55.97 kB / 0.7718 GB, free: 9.684 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006024/0.2752, allocations: 296.4 kB / 0.7721 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.2754, allocations: 135.2 kB / 0.7722 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.288, allocations: 3.863 MB / 0.776 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.288, allocations: 11.94 kB / 0.776 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.288, allocations: 15.94 kB / 0.776 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2881, allocations: 3.984 kB / 0.776 GB, free: 5.312 MB / 0.545 GB 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 postOpt removeSimpleEquations (simulation): time 0.01408/0.3021, allocations: 4.896 MB / 0.7808 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.3021, allocations: 4 kB / 0.7808 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.3027, allocations: 99.92 kB / 0.7809 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00541/0.3081, allocations: 1.594 MB / 0.7825 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.484e-05/0.3082, allocations: 16 kB / 0.7825 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.3285, allocations: 9.192 MB / 0.7915 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3285, allocations: 7.938 kB / 0.7915 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.3428, allocations: 4.762 MB / 0.7961 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.3431, allocations: 146.9 kB / 0.7963 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.3433, allocations: 23.94 kB / 0.7963 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.3445, allocations: 107.9 kB / 0.7964 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/0.345, allocations: 204.6 kB / 0.7966 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.3451, allocations: 27.98 kB / 0.7966 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001156/0.3463, allocations: 0.711 MB / 0.7973 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3463, allocations: 0 / 0.7973 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001319/0.3476, allocations: 479.7 kB / 0.7978 GB, free: 14.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.3479, allocations: 135 kB / 0.7979 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006157/0.354, allocations: 2.439 MB / 0.8003 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.354, allocations: 0 / 0.8003 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004167/0.3582, allocations: 1.548 MB / 0.8018 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.3589, allocations: 119.6 kB / 0.8019 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.363, allocations: 2.355 MB / 0.8042 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.3636, allocations: 0.5316 MB / 0.8047 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.3639, allocations: 87.41 kB / 0.8048 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.3639, allocations: 0 / 0.8048 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of Templates: time 0.2773/0.6411, allocations: 24.13 MB / 0.8284 GB, free: 89.36 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.513608207926154] Failed to read output from testmodel.py, exit status != 0: 0.6481759613379836 0.657989448 0.514566846 Calling exit ...