Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.001221/0.001221, 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.374/1.374, 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.001436/0.001436, allocations: 213.6 kB / 310 MB, free: 3.102 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.5869/0.5869, allocations: 107.2 MB / 473.6 MB, free: 29.79 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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.002485/0.002485, allocations: 87.25 kB / 0.6343 GB, free: 29.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1238, allocations: 80.15 MB / 0.7126 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01312/0.1369, allocations: 11.64 MB / 0.724 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007351/0.1443, allocations: 3.433 MB / 0.7273 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.1456, allocations: 31.94 kB / 0.7273 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.1471, allocations: 0.5654 MB / 0.7279 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.1518, allocations: 1.558 MB / 0.7294 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.1554, allocations: 1.507 MB / 0.7309 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005264/0.1606, allocations: 3.764 MB / 0.7346 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1617, allocations: 0.5776 MB / 0.7351 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.1643, allocations: 1.587 MB / 0.7367 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.1668, allocations: 1.808 MB / 0.7384 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004814/0.1672, allocations: 284 kB / 0.7387 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009627/0.1682, allocations: 451.8 kB / 0.7391 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006989/0.1689, allocations: 0.7545 MB / 0.7399 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.1702, allocations: 1.328 MB / 0.7412 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.1749, allocations: 4.049 MB / 0.7451 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1749, allocations: 4 kB / 0.7451 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1749, allocations: 4 kB / 0.7451 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.041e-05/0.175, allocations: 0 / 0.7451 GB, free: 5.641 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.0236/0.1986, allocations: 7.382 MB / 0.7523 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1986, allocations: 12.03 kB / 0.7524 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.2136, allocations: 2.32 MB / 0.7546 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/0.2182, allocations: 1.809 MB / 0.7564 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009836/0.2192, allocations: 0.8256 MB / 0.7572 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008539/0.22, allocations: 220 kB / 0.7574 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/0.228, allocations: 3.081 MB / 0.7604 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/0.228, allocations: 8 kB / 0.7604 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000417/0.2285, allocations: 83.94 kB / 0.7605 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.2285, allocations: 48 kB / 0.7605 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006963/0.2355, allocations: 2.826 MB / 0.7633 GB, free: 2.602 MB / 0.5294 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.01988/0.2553, allocations: 7.384 MB / 0.7705 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.2663, allocations: 3.567 MB / 0.774 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/0.2706, allocations: 1.824 MB / 0.7758 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.271, allocations: 37.97 kB / 0.7758 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005192/0.2761, allocations: 2.288 MB / 0.778 GB, free: 3.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 7.674e-06/0.2762, allocations: 3.984 kB / 0.7781 GB, free: 3.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=247): time 0.1256/0.4017, allocations: 29.25 MB / 0.8066 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.4019, allocations: 188.2 kB / 0.8068 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.4059, allocations: 2.244 MB / 0.809 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00055/0.4065, allocations: 69.7 kB / 0.8091 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.4076, allocations: 1.197 MB / 0.8102 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/0.409, allocations: 0.9102 MB / 0.8111 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.4107, allocations: 0.5421 MB / 0.8116 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4108, allocations: 301.1 kB / 0.8119 GB, free: 392 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.273/0.6838, allocations: 2.035 MB / 0.8139 GB, free: 86.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.6885, allocations: 2.401 MB / 0.8163 GB, free: 86.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05295/0.7414, allocations: 14.26 MB / 0.8302 GB, free: 82.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.7414, allocations: 1.375 kB / 0.8302 GB, free: 82.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.03682/0.7783, allocations: 12.28 MB / 0.8422 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.7783, allocations: 118.1 kB / 0.8423 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.7783, allocations: 7.719 kB / 0.8423 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/0.7942, allocations: 5.419 MB / 0.8476 GB, free: 76.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.7968, allocations: 0.5422 MB / 0.8481 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05122/0.8481, allocations: 22.8 MB / 0.8704 GB, free: 53.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.852, allocations: 492.5 kB / 0.8709 GB, free: 52.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/0.8524, allocations: 113.6 kB / 0.871 GB, free: 52.62 MB / 0.5762 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 order3_1.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 (315): * Single equations (assignments): 310 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001263/0.8537, allocations: 0.5312 MB / 0.8715 GB, free: 52.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/0.8543, allocations: 306 kB / 0.8718 GB, free: 51.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/0.8887, allocations: 11.87 MB / 0.8834 GB, free: 39.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.8887, allocations: 24 kB / 0.8834 GB, free: 39.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-05/0.8887, allocations: 20 kB / 0.8834 GB, free: 39.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/0.8888, allocations: 15.89 kB / 0.8834 GB, free: 39.79 MB / 0.5762 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.03748/0.9262, allocations: 14.21 MB / 0.8973 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.9263, allocations: 0 / 0.8973 GB, free: 25.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.9275, allocations: 246 kB / 0.8975 GB, free: 25.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01514/0.9427, allocations: 5.272 MB / 0.9027 GB, free: 20.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/0.943, allocations: 47.98 kB / 0.9027 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05099/0.994, allocations: 24.01 MB / 0.9262 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.994, allocations: 0 / 0.9262 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04547/1.039, allocations: 14.3 MB / 0.9401 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008274/1.04, allocations: 338.9 kB / 0.9405 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006689/1.041, allocations: 48 kB / 0.9405 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/1.044, allocations: 303.6 kB / 0.9408 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/1.046, allocations: 0.5995 MB / 0.9414 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002663/1.046, allocations: 63.98 kB / 0.9414 GB, free: 12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002557/1.049, allocations: 1.487 MB / 0.9429 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 0 / 0.9429 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003911/1.053, allocations: 1.173 MB / 0.944 GB, free: 9.371 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0005297/1.053, allocations: 183.1 kB / 0.9442 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01836/1.072, allocations: 6.562 MB / 0.9506 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.072, allocations: 4.125 kB / 0.9506 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/1.085, allocations: 4.261 MB / 0.9548 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.087, allocations: 273.7 kB / 0.9551 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.099, allocations: 5.5 MB / 0.9604 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/1.1, allocations: 1.256 MB / 0.9616 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008947/1.101, allocations: 187.4 kB / 0.9618 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/1.101, allocations: 0 / 0.9618 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.08864/1.19, allocations: 65.72 MB / 1.026 GB, free: 5.152 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.4023900302127] Failed to read output from testmodel.py, exit status != 0: 1.1986018782481551 1.212937478 1.034968413 Calling exit ...