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.001697/0.001697, allocations: 106.6 kB / 18.32 MB, free: 3.973 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.372/1.372, allocations: 225.6 MB / 246.9 MB, free: 13.61 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.001616/0.001616, allocations: 188.7 kB / 302.2 MB, free: 9.094 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.4535/0.4535, allocations: 79.73 MB / 437 MB, free: 5.582 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.002279/0.002279, allocations: 83.86 kB / 0.5823 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.138, allocations: 72.09 MB / 0.6527 GB, free: 372 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007736/0.1457, allocations: 6.602 MB / 0.6592 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.15, allocations: 1.986 MB / 0.6611 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/0.1505, allocations: 8 kB / 0.6611 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.1512, allocations: 241.9 kB / 0.6614 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.1532, allocations: 0.8488 MB / 0.6622 GB, free: 6.629 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.001347/0.1545, allocations: 0.6375 MB / 0.6628 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1562, allocations: 1.585 MB / 0.6644 GB, free: 4.406 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.1567, allocations: 222.4 kB / 0.6646 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.1575, allocations: 0.6613 MB / 0.6652 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1585, allocations: 0.8401 MB / 0.666 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.1587, allocations: 120 kB / 0.6662 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.1592, allocations: 259.9 kB / 0.6664 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.1595, allocations: 330.6 kB / 0.6667 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006214/0.1601, allocations: 0.668 MB / 0.6674 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.162, allocations: 1.669 MB / 0.669 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.162, allocations: 0 / 0.669 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.162, allocations: 0 / 0.669 GB, free: 15.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.162, allocations: 0 / 0.669 GB, free: 15.62 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008636/0.1707, allocations: 2.731 MB / 0.6717 GB, free: 12.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1707, allocations: 12.03 kB / 0.6717 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/0.1756, allocations: 0.7835 MB / 0.6725 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.1772, allocations: 0.8912 MB / 0.6733 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.1775, allocations: 260.1 kB / 0.6736 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.1777, allocations: 83.95 kB / 0.6736 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.1799, allocations: 1.09 MB / 0.6747 GB, free: 9.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.18, allocations: 4 kB / 0.6747 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/0.1801, allocations: 31.94 kB / 0.6747 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1801, allocations: 23.98 kB / 0.6748 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1822, allocations: 0.9877 MB / 0.6757 GB, free: 8.562 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.006759/0.189, allocations: 3.797 MB / 0.6794 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.1968, allocations: 2.297 MB / 0.6817 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.1985, allocations: 0.6175 MB / 0.6823 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.1986, allocations: 20.98 kB / 0.6823 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.2004, allocations: 0.8177 MB / 0.6831 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.446e-06/0.2004, allocations: 0 / 0.6831 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02943/0.2298, allocations: 7.058 MB / 0.69 GB, free: 9.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.2299, allocations: 127.7 kB / 0.6901 GB, free: 9.449 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.2318, allocations: 1.079 MB / 0.6912 GB, free: 8.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.2319, allocations: 45.69 kB / 0.6912 GB, free: 8.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.2324, allocations: 497.5 kB / 0.6917 GB, free: 7.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.2328, allocations: 376.8 kB / 0.6921 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/0.2333, allocations: 287.5 kB / 0.6923 GB, free: 7.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2334, allocations: 309.1 kB / 0.6926 GB, free: 6.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.2351, allocations: 0.7613 MB / 0.6934 GB, free: 6.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.2368, allocations: 0.9343 MB / 0.6943 GB, free: 5.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3414/0.5782, allocations: 5.58 MB / 0.6997 GB, free: 42.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.5782, allocations: 2.375 kB / 0.6997 GB, free: 42.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01509/0.5933, allocations: 4.318 MB / 0.7039 GB, free: 42.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.5934, allocations: 59.75 kB / 0.704 GB, free: 42.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.5934, allocations: 3.125 kB / 0.704 GB, free: 42.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005788/0.5992, allocations: 1.509 MB / 0.7055 GB, free: 42.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.6009, allocations: 301.9 kB / 0.7058 GB, free: 42.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.6208, allocations: 8.275 MB / 0.7138 GB, free: 38.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.6228, allocations: 207.3 kB / 0.714 GB, free: 38.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.623, allocations: 56.86 kB / 0.7141 GB, free: 38.65 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.0006247/0.6236, allocations: 305.1 kB / 0.7144 GB, free: 38.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.6238, allocations: 130.9 kB / 0.7145 GB, free: 38.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.6364, allocations: 3.846 MB / 0.7183 GB, free: 37.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.6364, allocations: 13.81 kB / 0.7183 GB, free: 37.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.6364, allocations: 7.094 kB / 0.7183 GB, free: 37.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.6364, allocations: 6.703 kB / 0.7183 GB, free: 37.42 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.01414/0.6506, allocations: 5.429 MB / 0.7236 GB, free: 35.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6506, allocations: 4.969 kB / 0.7236 GB, free: 35.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.6513, allocations: 102.4 kB / 0.7237 GB, free: 35.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00524/0.6565, allocations: 1.599 MB / 0.7253 GB, free: 34.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.6567, allocations: 26.33 kB / 0.7253 GB, free: 34.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.6748, allocations: 9.613 MB / 0.7347 GB, free: 27.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6748, allocations: 0 / 0.7347 GB, free: 27.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.6883, allocations: 4.723 MB / 0.7393 GB, free: 23.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.6888, allocations: 225.5 kB / 0.7395 GB, free: 23.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.6892, allocations: 27.94 kB / 0.7395 GB, free: 23.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.6905, allocations: 107.9 kB / 0.7396 GB, free: 23.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000622/0.6912, allocations: 196.7 kB / 0.7398 GB, free: 22.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6913, allocations: 35.98 kB / 0.7399 GB, free: 22.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.6923, allocations: 0.7235 MB / 0.7406 GB, free: 22.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6923, allocations: 0 / 0.7406 GB, free: 22.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001611/0.6939, allocations: 474.5 kB / 0.741 GB, free: 21.65 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.0002965/0.6942, allocations: 138.7 kB / 0.7411 GB, free: 21.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005664/0.6999, allocations: 2.354 MB / 0.7434 GB, free: 19.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6999, allocations: 0 / 0.7434 GB, free: 19.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003871/0.7037, allocations: 1.546 MB / 0.745 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009858/0.7047, allocations: 120.2 kB / 0.7451 GB, free: 17.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.7085, allocations: 2.303 MB / 0.7473 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.709, allocations: 1.12 MB / 0.7484 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.7094, allocations: 116.1 kB / 0.7485 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.7096, allocations: 83.42 kB / 0.7486 GB, free: 13.78 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7096, allocations: 0 / 0.7486 GB, free: 13.78 MB / 494.1 MB Notification: Performance of Templates: time 0.03788/0.7475, allocations: 24.49 MB / 0.7725 GB, free: 5.324 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.540157110008295]