Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.001216/0.001216, 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.368/1.368, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001591/0.001591, allocations: 217.6 kB / 310 MB, free: 3.055 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.5922/0.5922, allocations: 107.2 MB / 473.6 MB, free: 29.69 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.002413/0.002413, allocations: 89.25 kB / 0.6343 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1317, allocations: 80.15 MB / 0.7125 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007374/0.1391, allocations: 5.89 MB / 0.7183 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.143, allocations: 1.97 MB / 0.7202 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.1435, allocations: 8 kB / 0.7202 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.1442, allocations: 237.9 kB / 0.7205 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1464, allocations: 0.8558 MB / 0.7213 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1478, allocations: 0.6329 MB / 0.7219 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.1497, allocations: 1.659 MB / 0.7235 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.1501, allocations: 222.8 kB / 0.7237 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.151, allocations: 0.6964 MB / 0.7244 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1521, allocations: 0.8049 MB / 0.7252 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.1523, allocations: 132 kB / 0.7253 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.1529, allocations: 279.8 kB / 0.7256 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.1532, allocations: 342.6 kB / 0.7259 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006113/0.1538, allocations: 0.5633 MB / 0.7265 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.156, allocations: 1.751 MB / 0.7282 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.156, allocations: 0 / 0.7282 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.156, allocations: 0 / 0.7282 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.156, allocations: 0 / 0.7282 GB, free: 7.074 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009168/0.1652, allocations: 2.886 MB / 0.731 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1652, allocations: 11.97 kB / 0.731 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.17, allocations: 0.803 MB / 0.7318 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.1717, allocations: 0.8544 MB / 0.7326 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.172, allocations: 341.3 kB / 0.733 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.1722, allocations: 87.95 kB / 0.733 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.1744, allocations: 1.127 MB / 0.7341 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1744, allocations: 3.938 kB / 0.7341 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.1745, allocations: 28 kB / 0.7342 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1745, allocations: 20 kB / 0.7342 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.1766, allocations: 1.021 MB / 0.7352 GB, free: 15.72 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 preOpt removeSimpleEquations (simulation): time 0.006211/0.1828, allocations: 2.894 MB / 0.738 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007201/0.19, allocations: 2.033 MB / 0.74 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.1914, allocations: 0.6482 MB / 0.7406 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.1915, allocations: 16.98 kB / 0.7406 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.1932, allocations: 0.8507 MB / 0.7415 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 2.775e-06/0.1932, allocations: 4 kB / 0.7415 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.02851/0.2217, allocations: 7.099 MB / 0.7484 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.2218, allocations: 111.8 kB / 0.7485 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.2235, allocations: 1.098 MB / 0.7496 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.2237, allocations: 45.7 kB / 0.7496 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.2242, allocations: 0.5053 MB / 0.7501 GB, free: 208 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/0.2246, allocations: 369 kB / 0.7505 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.2251, allocations: 283.5 kB / 0.7508 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2252, allocations: 309 kB / 0.751 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.2269, allocations: 0.8272 MB / 0.7519 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.2288, allocations: 0.9961 MB / 0.7528 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02525/0.254, allocations: 5.985 MB / 0.7587 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.254, allocations: 0 / 0.7587 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01359/0.2676, allocations: 4.454 MB / 0.763 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/0.2677, allocations: 69.73 kB / 0.7631 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2677, allocations: 3.938 kB / 0.7631 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005938/0.2736, allocations: 1.619 MB / 0.7647 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.2751, allocations: 283.6 kB / 0.7649 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.2955, allocations: 8.307 MB / 0.7731 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.2974, allocations: 211.1 kB / 0.7733 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.2975, allocations: 55.97 kB / 0.7733 GB, free: 8.129 MB / 0.545 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 (160): * Single equations (assignments): 157 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006138/0.2981, allocations: 307.1 kB / 0.7736 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.2983, allocations: 135.1 kB / 0.7737 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.3111, allocations: 3.89 MB / 0.7775 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.3111, allocations: 12 kB / 0.7775 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3111, allocations: 8 kB / 0.7776 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.3112, allocations: 3.984 kB / 0.7776 GB, free: 3.73 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.01465/0.3258, allocations: 4.947 MB / 0.7824 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.3258, allocations: 0 / 0.7824 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.3264, allocations: 99.89 kB / 0.7825 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/0.3319, allocations: 1.578 MB / 0.784 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.332, allocations: 23.98 kB / 0.784 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.3524, allocations: 9.2 MB / 0.793 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3524, allocations: 7.938 kB / 0.793 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.3669, allocations: 4.821 MB / 0.7977 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.3674, allocations: 154.9 kB / 0.7979 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.3675, allocations: 16 kB / 0.7979 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.3687, allocations: 111.9 kB / 0.798 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/0.3693, allocations: 208.6 kB / 0.7982 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.3694, allocations: 31.98 kB / 0.7982 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001151/0.3705, allocations: 0.7389 MB / 0.799 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3705, allocations: 0 / 0.799 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001365/0.3719, allocations: 491.5 kB / 0.7994 GB, free: 13 MB / 0.5762 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.0002997/0.3722, allocations: 143 kB / 0.7996 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006537/0.3787, allocations: 2.509 MB / 0.802 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3787, allocations: 4 kB / 0.802 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004225/0.3829, allocations: 1.549 MB / 0.8035 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.3838, allocations: 110.2 kB / 0.8036 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.3882, allocations: 2.46 MB / 0.806 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.3887, allocations: 0.532 MB / 0.8066 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.3891, allocations: 87.41 kB / 0.8066 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.3891, allocations: 0 / 0.8066 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of Templates: time 0.3057/0.6948, allocations: 24.62 MB / 0.8307 GB, free: 88.31 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.239779180847108] Failed to read output from testmodel.py, exit status != 0: 0.7022624658420682 0.7120310280000001 0.553651699 Calling exit ...