Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.7 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 193.9 kB / 303.1 MB, free: 8.656 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5573/0.5573, allocations: 99.65 MB / 458 MB, free: 3.906 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 91.83 kB / 0.6129 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1617, allocations: 76.98 MB / 0.6881 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.009341/0.1711, allocations: 6.724 MB / 0.6947 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.1767, allocations: 2.025 MB / 0.6967 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.178, allocations: 8 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.179, allocations: 241.9 kB / 0.6969 GB, free: 392 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2862/0.4652, allocations: 0.8498 MB / 0.6977 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.4671, allocations: 0.6449 MB / 0.6984 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.4698, allocations: 1.675 MB / 0.7 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.4703, allocations: 224.7 kB / 0.7002 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.4715, allocations: 0.6963 MB / 0.7009 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.4725, allocations: 0.8718 MB / 0.7017 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.4727, allocations: 132.2 kB / 0.7019 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.4733, allocations: 276.5 kB / 0.7021 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.4736, allocations: 343.4 kB / 0.7025 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.4741, allocations: 0.6837 MB / 0.7031 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.4762, allocations: 1.715 MB / 0.7048 GB, free: 9.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4762, allocations: 0.6562 kB / 0.7048 GB, free: 9.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4762, allocations: 1.281 kB / 0.7048 GB, free: 9.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.427e-05/0.4762, allocations: 0 / 0.7048 GB, free: 9.18 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01002/0.4862, allocations: 2.862 MB / 0.7076 GB, free: 8.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4863, allocations: 15.36 kB / 0.7076 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.4915, allocations: 0.7854 MB / 0.7084 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.4933, allocations: 0.8634 MB / 0.7092 GB, free: 7.383 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.4936, allocations: 257.8 kB / 0.7095 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.4938, allocations: 82.67 kB / 0.7095 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.496, allocations: 1.104 MB / 0.7106 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.496, allocations: 0 / 0.7106 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4961, allocations: 30.45 kB / 0.7106 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.4961, allocations: 20.31 kB / 0.7107 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.4982, allocations: 0.9991 MB / 0.7116 GB, free: 6.355 MB / 494.1 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.007638/0.5058, allocations: 3.811 MB / 0.7154 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008178/0.514, allocations: 2.015 MB / 0.7173 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.5158, allocations: 0.6255 MB / 0.7179 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.5159, allocations: 23.8 kB / 0.718 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00217/0.5181, allocations: 0.828 MB / 0.7188 GB, free: 3.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 4.569e-06/0.5181, allocations: 0 / 0.7188 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.03113/0.5492, allocations: 7.045 MB / 0.7257 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.5493, allocations: 113.8 kB / 0.7258 GB, free: 400 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.5519, allocations: 1.125 MB / 0.7269 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004276/0.5523, allocations: 47.08 kB / 0.7269 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/0.5529, allocations: 0.5042 MB / 0.7274 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.5537, allocations: 378.3 kB / 0.7278 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009248/0.5546, allocations: 296 kB / 0.728 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5548, allocations: 304.2 kB / 0.7283 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.5568, allocations: 0.7796 MB / 0.7291 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.559, allocations: 0.9628 MB / 0.73 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02851/0.5875, allocations: 5.78 MB / 0.7357 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.5876, allocations: 4 kB / 0.7357 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01668/0.6042, allocations: 4.426 MB / 0.74 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/0.6043, allocations: 62.3 kB / 0.7401 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6043, allocations: 3.844 kB / 0.7401 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006861/0.6112, allocations: 1.636 MB / 0.7417 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.6129, allocations: 294 kB / 0.7419 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02514/0.6381, allocations: 8.523 MB / 0.7503 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.6406, allocations: 207.2 kB / 0.7505 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/0.641, allocations: 59.97 kB / 0.7505 GB, free: 14.55 MB / 0.5137 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001167/0.6421, allocations: 306 kB / 0.7508 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.6426, allocations: 135.1 kB / 0.7509 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.6576, allocations: 3.874 MB / 0.7547 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.6576, allocations: 11.98 kB / 0.7547 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/0.6576, allocations: 8 kB / 0.7547 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.383e-05/0.6577, allocations: 9.859 kB / 0.7548 GB, free: 10.18 MB / 0.5137 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.01892/0.6766, allocations: 5.465 MB / 0.7601 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.6766, allocations: 0 / 0.7601 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/0.6775, allocations: 103.8 kB / 0.7602 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006629/0.6841, allocations: 1.585 MB / 0.7617 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/0.6844, allocations: 23.94 kB / 0.7618 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02501/0.7094, allocations: 9.458 MB / 0.771 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7094, allocations: 4 kB / 0.771 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/0.7273, allocations: 4.763 MB / 0.7757 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/0.7279, allocations: 154.9 kB / 0.7758 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/0.7284, allocations: 27.98 kB / 0.7758 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.73, allocations: 103.9 kB / 0.7759 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008104/0.7308, allocations: 204.6 kB / 0.7761 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/0.731, allocations: 28 kB / 0.7762 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001592/0.7326, allocations: 0.7553 MB / 0.7769 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7326, allocations: 0 / 0.7769 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002022/0.7346, allocations: 495.6 kB / 0.7774 GB, free: 2.691 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000396/0.735, allocations: 146.2 kB / 0.7775 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008014/0.743, allocations: 2.448 MB / 0.7799 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.743, allocations: 4 kB / 0.7799 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005208/0.7482, allocations: 1.524 MB / 0.7814 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.7496, allocations: 116.5 kB / 0.7815 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.755, allocations: 2.399 MB / 0.7838 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/0.756, allocations: 1.124 MB / 0.7849 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006277/0.7566, allocations: 121.7 kB / 0.7851 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.757, allocations: 83.53 kB / 0.7851 GB, free: 10.62 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.757, allocations: 3.938 kB / 0.7851 GB, free: 10.62 MB / 0.545 GB Notification: Performance of Templates: time 0.04892/0.8059, allocations: 25.57 MB / 0.8101 GB, free: 1.109 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.016466069966555] Failed to read output from testmodel.py, exit status != 0: 0.8164065852761269 0.833700457 0.35379041099999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f36509e57b0>