Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001552/0.001552, 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.417/1.417, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001557/0.001557, allocations: 217.6 kB / 310 MB, free: 3.133 MB / 238.1 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.6114/0.6114, allocations: 107.3 MB / 473.7 MB, free: 29.64 MB / 350.1 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.002471/0.002471, allocations: 82.02 kB / 0.6345 GB, free: 29.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1374, allocations: 80.18 MB / 0.7128 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008029/0.1455, allocations: 5.817 MB / 0.7184 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.15, allocations: 1.927 MB / 0.7203 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.151, allocations: 12 kB / 0.7203 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.1519, allocations: 241.9 kB / 0.7206 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.1548, allocations: 0.8573 MB / 0.7214 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1564, allocations: 0.6251 MB / 0.722 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002303/0.1587, allocations: 1.608 MB / 0.7236 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.1592, allocations: 210.9 kB / 0.7238 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.1604, allocations: 0.6808 MB / 0.7244 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1616, allocations: 0.7659 MB / 0.7252 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004024/0.1621, allocations: 120 kB / 0.7253 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007985/0.1628, allocations: 271.8 kB / 0.7256 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.1634, allocations: 334.6 kB / 0.7259 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008322/0.1642, allocations: 0.5516 MB / 0.7264 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.1664, allocations: 1.708 MB / 0.7281 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1664, allocations: 0 / 0.7281 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1664, allocations: 0 / 0.7281 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.1665, allocations: 0 / 0.7281 GB, free: 7.258 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.009233/0.1757, allocations: 2.82 MB / 0.7308 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1757, allocations: 8.031 kB / 0.7309 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005086/0.1808, allocations: 0.7952 MB / 0.7316 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.1827, allocations: 0.8229 MB / 0.7324 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.183, allocations: 341.3 kB / 0.7328 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1832, allocations: 83.95 kB / 0.7328 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.1855, allocations: 1.115 MB / 0.7339 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1855, allocations: 0 / 0.7339 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.1856, allocations: 32 kB / 0.734 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1856, allocations: 19.98 kB / 0.734 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.1878, allocations: 1.013 MB / 0.735 GB, free: 36 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.006953/0.1947, allocations: 2.878 MB / 0.7378 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0071/0.2018, allocations: 2.017 MB / 0.7397 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.2033, allocations: 0.6426 MB / 0.7404 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.2034, allocations: 13 kB / 0.7404 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/0.205, allocations: 0.8468 MB / 0.7412 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.945e-06/0.205, allocations: 0 / 0.7412 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02774/0.2328, allocations: 6.943 MB / 0.748 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.2329, allocations: 127.8 kB / 0.7481 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.2346, allocations: 1.054 MB / 0.7491 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.2347, allocations: 49.7 kB / 0.7492 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.2352, allocations: 0.5014 MB / 0.7497 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.2356, allocations: 372.9 kB / 0.75 GB, free: 392 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.236, allocations: 275.5 kB / 0.7503 GB, free: 112 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2362, allocations: 301.1 kB / 0.7506 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.2378, allocations: 0.8076 MB / 0.7514 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.2396, allocations: 0.9766 MB / 0.7523 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02388/0.2635, allocations: 5.759 MB / 0.758 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.2635, allocations: 3.938 kB / 0.758 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01336/0.2769, allocations: 4.344 MB / 0.7622 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.277, allocations: 59.41 kB / 0.7623 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.277, allocations: 4 kB / 0.7623 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/0.2824, allocations: 1.503 MB / 0.7637 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.2839, allocations: 291.6 kB / 0.764 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.3042, allocations: 7.973 MB / 0.7718 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.3061, allocations: 195.1 kB / 0.772 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/0.3065, allocations: 55.97 kB / 0.772 GB, free: 9.531 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.0008731/0.3074, allocations: 303.2 kB / 0.7723 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.3078, allocations: 127.2 kB / 0.7724 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.3209, allocations: 3.863 MB / 0.7762 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.3209, allocations: 12 kB / 0.7762 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.3209, allocations: 11.94 kB / 0.7762 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.3209, allocations: 11.97 kB / 0.7762 GB, free: 5.16 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.01486/0.3358, allocations: 4.892 MB / 0.781 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.3358, allocations: 0 / 0.781 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.3364, allocations: 99.89 kB / 0.7811 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005492/0.3419, allocations: 1.582 MB / 0.7827 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.342, allocations: 31.98 kB / 0.7827 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/0.3624, allocations: 9.194 MB / 0.7917 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3624, allocations: 3.938 kB / 0.7917 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/0.3768, allocations: 4.754 MB / 0.7963 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.3773, allocations: 142.9 kB / 0.7965 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.3775, allocations: 31.92 kB / 0.7965 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.3785, allocations: 107.9 kB / 0.7966 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005923/0.3791, allocations: 200.6 kB / 0.7968 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.3792, allocations: 28.19 kB / 0.7968 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001126/0.3803, allocations: 0.711 MB / 0.7975 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3803, allocations: 7.938 kB / 0.7975 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001381/0.3817, allocations: 479.7 kB / 0.798 GB, free: 14.59 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.000302/0.382, allocations: 135 kB / 0.7981 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0061/0.3881, allocations: 2.428 MB / 0.8005 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3881, allocations: 4 kB / 0.8005 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/0.3923, allocations: 1.556 MB / 0.802 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.3931, allocations: 120.6 kB / 0.8021 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.3972, allocations: 2.35 MB / 0.8044 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.3977, allocations: 0.5315 MB / 0.8049 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.398, allocations: 87.41 kB / 0.805 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/0.398, allocations: 0 / 0.805 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.3267/0.7247, allocations: 24.14 MB / 0.8286 GB, free: 88.73 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.916840309277177] Failed to read output from testmodel.py, exit status != 0: 0.7333752810955048 0.7428437689999999 0.574214219 Calling exit ...