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: 110.1 kB / 19.7 MB, free: 2.262 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.366/1.366, allocations: 230.6 MB / 253.4 MB, free: 14.47 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.001455/0.001455, allocations: 216.8 kB / 310 MB, free: 3.09 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.5586/0.5586, allocations: 101.3 MB / 467.8 MB, free: 30.53 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.002366/0.002366, allocations: 86.22 kB / 0.6257 GB, free: 32.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1182, allocations: 78.61 MB / 0.7024 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007651/0.1259, allocations: 6.649 MB / 0.7089 GB, free: 9.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1298, allocations: 2.044 MB / 0.7109 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.1302, allocations: 8 kB / 0.7109 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.1308, allocations: 234 kB / 0.7112 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.1327, allocations: 0.8738 MB / 0.712 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.134, allocations: 0.6412 MB / 0.7126 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1357, allocations: 1.62 MB / 0.7142 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.1361, allocations: 222.9 kB / 0.7144 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.1369, allocations: 0.6808 MB / 0.7151 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.138, allocations: 0.8479 MB / 0.7159 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.1382, allocations: 120 kB / 0.716 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.1388, allocations: 271.9 kB / 0.7163 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.1392, allocations: 334.6 kB / 0.7166 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.1398, allocations: 0.6719 MB / 0.7173 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.1418, allocations: 1.692 MB / 0.7189 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1418, allocations: 0 / 0.7189 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1418, allocations: 0 / 0.7189 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.1418, allocations: 0 / 0.7189 GB, free: 15.55 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.008848/0.1507, allocations: 2.809 MB / 0.7217 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1507, allocations: 12.03 kB / 0.7217 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.1557, allocations: 0.7991 MB / 0.7225 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1573, allocations: 0.823 MB / 0.7233 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003647/0.1577, allocations: 333.3 kB / 0.7236 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.1578, allocations: 87.95 kB / 0.7237 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.16, allocations: 1.094 MB / 0.7247 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.16, allocations: 0 / 0.7247 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/0.1601, allocations: 32 kB / 0.7248 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.1601, allocations: 16 kB / 0.7248 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.1621, allocations: 0.9877 MB / 0.7257 GB, free: 8.406 MB / 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.006977/0.1691, allocations: 3.793 MB / 0.7294 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.1764, allocations: 2.004 MB / 0.7314 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.1778, allocations: 0.6199 MB / 0.732 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.1779, allocations: 12.98 kB / 0.732 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.1796, allocations: 0.8177 MB / 0.7328 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.484e-06/0.1796, allocations: 0 / 0.7328 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02868/0.2083, allocations: 6.901 MB / 0.7396 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.2084, allocations: 123.7 kB / 0.7397 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.2101, allocations: 1.087 MB / 0.7407 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002014/0.2103, allocations: 41.7 kB / 0.7408 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.2107, allocations: 0.4898 MB / 0.7413 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.2111, allocations: 376.8 kB / 0.7416 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/0.2116, allocations: 295.4 kB / 0.7419 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2118, allocations: 305.1 kB / 0.7422 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.2134, allocations: 0.7613 MB / 0.7429 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.2152, allocations: 0.9381 MB / 0.7438 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02447/0.2396, allocations: 5.786 MB / 0.7495 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2396, allocations: 0 / 0.7495 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01346/0.2531, allocations: 4.317 MB / 0.7537 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.2532, allocations: 59.41 kB / 0.7538 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.2532, allocations: 0 / 0.7538 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00554/0.2588, allocations: 1.515 MB / 0.7552 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.2604, allocations: 295.6 kB / 0.7555 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.2806, allocations: 8.182 MB / 0.7635 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.2824, allocations: 199.1 kB / 0.7637 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.2827, allocations: 59.97 kB / 0.7638 GB, free: 0.8594 MB / 0.5294 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 (166): * Single equations (assignments): 163 * 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.0008554/0.2835, allocations: 310.9 kB / 0.7641 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/0.2839, allocations: 135.1 kB / 0.7642 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.2971, allocations: 3.834 MB / 0.7679 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.2971, allocations: 12 kB / 0.7679 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.2971, allocations: 8 kB / 0.768 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.2971, allocations: 3.984 kB / 0.768 GB, free: 12.52 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.01581/0.3129, allocations: 5.412 MB / 0.7732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3129, allocations: 0 / 0.7732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.3135, allocations: 99.89 kB / 0.7733 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005619/0.3192, allocations: 1.59 MB / 0.7749 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.3193, allocations: 23.98 kB / 0.7749 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/0.3402, allocations: 9.437 MB / 0.7841 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3402, allocations: 4 kB / 0.7841 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.3548, allocations: 4.712 MB / 0.7887 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.3552, allocations: 158.8 kB / 0.7889 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.3555, allocations: 20 kB / 0.7889 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.3568, allocations: 107.9 kB / 0.789 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005718/0.3573, allocations: 208.7 kB / 0.7892 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/0.3574, allocations: 24.19 kB / 0.7892 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001248/0.3587, allocations: 0.7313 MB / 0.7899 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3587, allocations: 7.938 kB / 0.79 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001472/0.3602, allocations: 475.6 kB / 0.7904 GB, free: 5.145 MB / 0.5606 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.0003008/0.3605, allocations: 135.1 kB / 0.7905 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006198/0.3667, allocations: 2.364 MB / 0.7928 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3667, allocations: 3.938 kB / 0.7928 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004256/0.3709, allocations: 1.523 MB / 0.7943 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.3718, allocations: 113.8 kB / 0.7944 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.3762, allocations: 2.325 MB / 0.7967 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/0.3769, allocations: 1.124 MB / 0.7978 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.3773, allocations: 87.41 kB / 0.7979 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of SimCode: time 9.61e-07/0.3773, allocations: 0 / 0.7979 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.2808/0.658, allocations: 23.74 MB / 0.8211 GB, free: 100.5 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: 8.984707630006596] Failed to read output from testmodel.py, exit status != 0: 0.6657364959828556 0.677097603 0.5331235200000001 Calling exit ...