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.001608/0.001608, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.47/1.47, allocations: 230.6 MB / 253.4 MB, free: 8.289 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.001862/0.001862, allocations: 211.3 kB / 310 MB, free: 3.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4541/0.4541, allocations: 79.74 MB / 446.2 MB, free: 14.83 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.002641/0.002641, allocations: 83.88 kB / 0.5942 GB, free: 13.44 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1598, allocations: 73.3 MB / 0.6657 GB, free: 4.035 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008096/0.1679, allocations: 6.709 MB / 0.6723 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.1726, allocations: 2.064 MB / 0.6743 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/0.1735, allocations: 12 kB / 0.6743 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.1744, allocations: 237.9 kB / 0.6746 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.177, allocations: 0.8844 MB / 0.6754 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1786, allocations: 0.6404 MB / 0.676 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.181, allocations: 1.667 MB / 0.6777 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.1815, allocations: 234.9 kB / 0.6779 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.1827, allocations: 0.7003 MB / 0.6786 GB, free: 6.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1839, allocations: 0.8752 MB / 0.6794 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.1841, allocations: 135.9 kB / 0.6796 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.1847, allocations: 287.8 kB / 0.6798 GB, free: 5.555 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.185, allocations: 334.6 kB / 0.6802 GB, free: 5.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007082/0.1857, allocations: 0.6913 MB / 0.6808 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.188, allocations: 1.735 MB / 0.6825 GB, free: 2.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.188, allocations: 4 kB / 0.6825 GB, free: 2.785 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.188, allocations: 4 kB / 0.6825 GB, free: 2.781 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.1881, allocations: 0 / 0.6825 GB, free: 2.781 MB / 478.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.01018/0.1983, allocations: 2.886 MB / 0.6853 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1983, allocations: 15.98 kB / 0.6854 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/0.2036, allocations: 0.7952 MB / 0.6861 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.2058, allocations: 0.8623 MB / 0.687 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/0.2062, allocations: 333.3 kB / 0.6873 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.2064, allocations: 84 kB / 0.6874 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.2087, allocations: 1.094 MB / 0.6884 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.2087, allocations: 3.938 kB / 0.6885 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.2088, allocations: 36 kB / 0.6885 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.2089, allocations: 23.98 kB / 0.6885 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.211, allocations: 0.9994 MB / 0.6895 GB, free: 11.48 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.007603/0.2186, allocations: 3.814 MB / 0.6932 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007429/0.226, allocations: 2.015 MB / 0.6952 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.2274, allocations: 0.6278 MB / 0.6958 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.2275, allocations: 12.98 kB / 0.6958 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.2292, allocations: 0.8333 MB / 0.6966 GB, free: 3.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.426e-06/0.2293, allocations: 0 / 0.6966 GB, free: 3.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.3544/0.5837, allocations: 7.033 MB / 0.7035 GB, free: 35.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.5838, allocations: 117.5 kB / 0.7036 GB, free: 34.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.5863, allocations: 1.126 MB / 0.7047 GB, free: 34.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003065/0.5866, allocations: 46.17 kB / 0.7047 GB, free: 34.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/0.5871, allocations: 0.5052 MB / 0.7052 GB, free: 34.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/0.5877, allocations: 374.6 kB / 0.7056 GB, free: 34.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000708/0.5884, allocations: 298.6 kB / 0.7059 GB, free: 34.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.5885, allocations: 305.7 kB / 0.7062 GB, free: 34.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.5905, allocations: 0.7789 MB / 0.7069 GB, free: 34.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.5924, allocations: 0.9556 MB / 0.7079 GB, free: 34.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02828/0.6206, allocations: 6.012 MB / 0.7137 GB, free: 32.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/0.6207, allocations: 0.5625 kB / 0.7137 GB, free: 32.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01539/0.6361, allocations: 4.436 MB / 0.7181 GB, free: 31.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.6361, allocations: 62.44 kB / 0.7181 GB, free: 31.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6361, allocations: 5.062 kB / 0.7181 GB, free: 31.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00589/0.642, allocations: 1.633 MB / 0.7197 GB, free: 31.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6437, allocations: 291 kB / 0.72 GB, free: 31.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.663, allocations: 8.518 MB / 0.7283 GB, free: 26.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.6651, allocations: 212.6 kB / 0.7285 GB, free: 25.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.6652, allocations: 58.25 kB / 0.7286 GB, free: 25.97 MB / 494.1 MB 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.0006056/0.6658, allocations: 302.6 kB / 0.7289 GB, free: 25.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.666, allocations: 134.8 kB / 0.729 GB, free: 25.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.6782, allocations: 3.874 MB / 0.7328 GB, free: 23.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.6782, allocations: 15.64 kB / 0.7328 GB, free: 23.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.6783, allocations: 3.938 kB / 0.7328 GB, free: 23.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.6783, allocations: 7.703 kB / 0.7328 GB, free: 23.65 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 postOpt removeSimpleEquations (simulation): time 0.01369/0.692, allocations: 5.452 MB / 0.7381 GB, free: 19.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.692, allocations: 1.094 kB / 0.7381 GB, free: 19.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.6927, allocations: 103.8 kB / 0.7382 GB, free: 19.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004971/0.6977, allocations: 1.584 MB / 0.7398 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/0.6979, allocations: 27.94 kB / 0.7398 GB, free: 18.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.7155, allocations: 9.465 MB / 0.749 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7155, allocations: 0 / 0.749 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.7287, allocations: 4.761 MB / 0.7537 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.7292, allocations: 161 kB / 0.7538 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.7294, allocations: 19.98 kB / 0.7539 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.7307, allocations: 115.9 kB / 0.754 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/0.7312, allocations: 207.4 kB / 0.7542 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.7313, allocations: 24 kB / 0.7542 GB, free: 3.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009763/0.7323, allocations: 0.7592 MB / 0.7549 GB, free: 2.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7323, allocations: 0 / 0.7549 GB, free: 2.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001579/0.7338, allocations: 489.8 kB / 0.7554 GB, free: 1.965 MB / 494.1 MB 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.0002855/0.7341, allocations: 136.1 kB / 0.7555 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006381/0.7405, allocations: 2.461 MB / 0.7579 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.7405, allocations: 0 / 0.7579 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/0.7452, allocations: 1.517 MB / 0.7594 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.7464, allocations: 122.5 kB / 0.7595 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.7513, allocations: 2.442 MB / 0.7619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.7522, allocations: 1.132 MB / 0.763 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.7526, allocations: 83.41 kB / 0.7631 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.7526, allocations: 0 / 0.7631 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.03582/0.7885, allocations: 24.24 MB / 0.7868 GB, free: 1.746 MB / 0.5137 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: 10.134457223117352] Failed to read output from testmodel.py, exit status != 0: 0.798153867945075 0.812634062 0.6213081420000001 Calling exit ...