Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001732/0.001732, allocations: 109.9 kB / 16.45 MB, free: 6.488 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.428/1.428, allocations: 225.6 MB / 244.8 MB, free: 14.17 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.002085/0.002085, allocations: 195.1 kB / 299.8 MB, free: 9.832 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.4767/0.4767, allocations: 79.72 MB / 434.4 MB, free: 6.219 MB / 302.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.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 87.86 kB / 0.5789 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1535, allocations: 72.08 MB / 0.6493 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007864/0.1614, allocations: 6.582 MB / 0.6557 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.1659, allocations: 1.978 MB / 0.6576 GB, free: 8.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.1666, allocations: 8 kB / 0.6576 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.1673, allocations: 234 kB / 0.6579 GB, free: 8.441 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.1694, allocations: 0.8643 MB / 0.6587 GB, free: 7.574 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1708, allocations: 0.6273 MB / 0.6593 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.1726, allocations: 1.581 MB / 0.6609 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.173, allocations: 234.3 kB / 0.6611 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.1739, allocations: 0.6613 MB / 0.6617 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.1749, allocations: 0.8401 MB / 0.6625 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.1751, allocations: 120 kB / 0.6627 GB, free: 3.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.1757, allocations: 259.9 kB / 0.6629 GB, free: 3.246 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.176, allocations: 318.7 kB / 0.6632 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.1766, allocations: 0.6757 MB / 0.6639 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.1785, allocations: 1.665 MB / 0.6655 GB, free: 0.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1785, allocations: 0 / 0.6655 GB, free: 0.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1785, allocations: 0 / 0.6655 GB, free: 0.582 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.1786, allocations: 4 kB / 0.6655 GB, free: 0.5781 MB / 462.1 MB 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.009262/0.1878, allocations: 2.731 MB / 0.6682 GB, free: 13.78 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1879, allocations: 8.031 kB / 0.6682 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.193, allocations: 0.7835 MB / 0.6689 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1947, allocations: 0.899 MB / 0.6698 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.195, allocations: 256.1 kB / 0.6701 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.1952, allocations: 84 kB / 0.6701 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.1975, allocations: 1.086 MB / 0.6712 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1975, allocations: 4 kB / 0.6712 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.967e-05/0.1976, allocations: 31.98 kB / 0.6712 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.1977, allocations: 20 kB / 0.6713 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.1998, allocations: 0.9916 MB / 0.6722 GB, free: 9.516 MB / 478.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.007143/0.207, allocations: 3.805 MB / 0.6759 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007501/0.2145, allocations: 2.301 MB / 0.6782 GB, free: 3.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.216, allocations: 0.6175 MB / 0.6788 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.2161, allocations: 16.98 kB / 0.6788 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.2179, allocations: 0.8177 MB / 0.6796 GB, free: 1.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.547e-06/0.2179, allocations: 0 / 0.6796 GB, free: 1.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.0294/0.2473, allocations: 7.062 MB / 0.6865 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.2475, allocations: 119.8 kB / 0.6866 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.2495, allocations: 1.083 MB / 0.6877 GB, free: 9.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.2498, allocations: 45.7 kB / 0.6877 GB, free: 9.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.2502, allocations: 0.4897 MB / 0.6882 GB, free: 8.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/0.2508, allocations: 376.8 kB / 0.6886 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007459/0.2515, allocations: 283.5 kB / 0.6888 GB, free: 8.098 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2517, allocations: 309.1 kB / 0.6891 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.2535, allocations: 0.7574 MB / 0.6899 GB, free: 7.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.2554, allocations: 0.942 MB / 0.6908 GB, free: 6.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0243/0.2797, allocations: 5.579 MB / 0.6962 GB, free: 396 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.2797, allocations: 0 / 0.6962 GB, free: 396 kB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.3583/0.6381, allocations: 4.31 MB / 0.7004 GB, free: 43.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.6381, allocations: 64.08 kB / 0.7005 GB, free: 43.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.6382, allocations: 4.484 kB / 0.7005 GB, free: 43.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006142/0.6443, allocations: 1.509 MB / 0.702 GB, free: 43.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.6461, allocations: 296.4 kB / 0.7023 GB, free: 43.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/0.6687, allocations: 8.28 MB / 0.7103 GB, free: 40.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.6708, allocations: 205.2 kB / 0.7105 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.6709, allocations: 55.81 kB / 0.7106 GB, free: 40.13 MB / 494.1 MB 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.0006371/0.6715, allocations: 301.3 kB / 0.7109 GB, free: 39.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.6718, allocations: 130.2 kB / 0.711 GB, free: 39.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.6847, allocations: 3.845 MB / 0.7148 GB, free: 38.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.6847, allocations: 14.52 kB / 0.7148 GB, free: 38.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.6847, allocations: 10.81 kB / 0.7148 GB, free: 38.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.6847, allocations: 5.156 kB / 0.7148 GB, free: 38.9 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.01443/0.6992, allocations: 5.428 MB / 0.7201 GB, free: 36.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.6992, allocations: 4.031 kB / 0.7201 GB, free: 36.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.6999, allocations: 102.6 kB / 0.7202 GB, free: 36.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/0.7058, allocations: 1.605 MB / 0.7218 GB, free: 35.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/0.706, allocations: 20.09 kB / 0.7218 GB, free: 35.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.7258, allocations: 9.614 MB / 0.7312 GB, free: 29.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.7258, allocations: 4 kB / 0.7312 GB, free: 29.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.7397, allocations: 4.715 MB / 0.7358 GB, free: 24.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/0.7402, allocations: 235.8 kB / 0.736 GB, free: 24.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/0.7407, allocations: 19.98 kB / 0.736 GB, free: 24.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.7421, allocations: 111.4 kB / 0.7361 GB, free: 24.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006908/0.7428, allocations: 208.6 kB / 0.7363 GB, free: 24.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.743, allocations: 24 kB / 0.7363 GB, free: 24.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00119/0.7442, allocations: 0.7274 MB / 0.7371 GB, free: 23.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7442, allocations: 0 / 0.7371 GB, free: 23.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001897/0.7461, allocations: 472.6 kB / 0.7375 GB, free: 23.13 MB / 494.1 MB 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003636/0.7464, allocations: 136.9 kB / 0.7376 GB, free: 22.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006206/0.7526, allocations: 2.357 MB / 0.7399 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7526, allocations: 0 / 0.7399 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/0.757, allocations: 1.549 MB / 0.7415 GB, free: 19.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.7586, allocations: 121.3 kB / 0.7416 GB, free: 18.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.764, allocations: 2.293 MB / 0.7438 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/0.7648, allocations: 1.12 MB / 0.7449 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005717/0.7653, allocations: 116.1 kB / 0.745 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.7657, allocations: 83.41 kB / 0.7451 GB, free: 15.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/0.7657, allocations: 1.859 kB / 0.7451 GB, free: 15.27 MB / 494.1 MB Notification: Performance of Templates: time 0.04226/0.8079, allocations: 24.01 MB / 0.7685 GB, free: 7.301 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868495937436819]