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.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.001648/0.001648, allocations: 108.5 kB / 16.45 MB, free: 6.457 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.438/1.438, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001892/0.001892, allocations: 190.7 kB / 299.8 MB, free: 9.824 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.4539/0.4539, allocations: 79.72 MB / 434.4 MB, free: 6.188 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.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: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 83.88 kB / 0.5789 GB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1578, allocations: 72.08 MB / 0.6493 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008751/0.1665, allocations: 6.679 MB / 0.6558 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.1714, allocations: 2.005 MB / 0.6577 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1725, allocations: 8 kB / 0.6577 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.1734, allocations: 241.9 kB / 0.658 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.1758, allocations: 0.8703 MB / 0.6588 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1773, allocations: 0.633 MB / 0.6594 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00209/0.1794, allocations: 1.647 MB / 0.6611 GB, free: 5.133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.1798, allocations: 226.4 kB / 0.6613 GB, free: 4.898 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.1808, allocations: 0.6807 MB / 0.6619 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1819, allocations: 0.8713 MB / 0.6628 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.1821, allocations: 128 kB / 0.6629 GB, free: 3.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006463/0.1828, allocations: 267.9 kB / 0.6632 GB, free: 2.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.1832, allocations: 346.5 kB / 0.6635 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007083/0.1839, allocations: 0.6797 MB / 0.6642 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.186, allocations: 1.723 MB / 0.6658 GB, free: 204 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.186, allocations: 4 kB / 0.6658 GB, free: 200 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.186, allocations: 0 / 0.6658 GB, free: 200 kB / 462.1 MB Notification: Performance of Transformations before backend: time 2.997e-05/0.1861, allocations: 0 / 0.6658 GB, free: 200 kB / 462.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.01012/0.1962, allocations: 2.796 MB / 0.6686 GB, free: 13.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1962, allocations: 12.03 kB / 0.6686 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.2016, allocations: 0.7718 MB / 0.6693 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.2036, allocations: 0.9266 MB / 0.6702 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.2039, allocations: 256.2 kB / 0.6705 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.2041, allocations: 87.95 kB / 0.6706 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.2066, allocations: 1.102 MB / 0.6717 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.2066, allocations: 3.938 kB / 0.6717 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.2067, allocations: 32 kB / 0.6717 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2067, allocations: 20 kB / 0.6717 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.209, allocations: 0.9955 MB / 0.6727 GB, free: 9.023 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.007652/0.2166, allocations: 3.868 MB / 0.6765 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/0.2245, allocations: 2.315 MB / 0.6787 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.2262, allocations: 0.6215 MB / 0.6793 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.2263, allocations: 20.97 kB / 0.6793 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/0.2282, allocations: 0.8255 MB / 0.6801 GB, free: 1.078 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.106e-06/0.2282, allocations: 4 kB / 0.6802 GB, free: 1.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03094/0.2591, allocations: 7.202 MB / 0.6872 GB, free: 9.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.2592, allocations: 119.7 kB / 0.6873 GB, free: 9.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.2614, allocations: 1.131 MB / 0.6884 GB, free: 8.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.2618, allocations: 45.7 kB / 0.6884 GB, free: 8.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.2623, allocations: 0.4976 MB / 0.6889 GB, free: 7.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.2628, allocations: 380.9 kB / 0.6893 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006109/0.2634, allocations: 295.5 kB / 0.6896 GB, free: 7.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2635, allocations: 301.1 kB / 0.6899 GB, free: 7.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.2653, allocations: 0.7808 MB / 0.6906 GB, free: 6.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.2673, allocations: 0.9538 MB / 0.6916 GB, free: 5.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3197/0.587, allocations: 5.784 MB / 0.6972 GB, free: 43.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.587, allocations: 1.906 kB / 0.6972 GB, free: 43.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01562/0.6027, allocations: 4.432 MB / 0.7015 GB, free: 43.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-05/0.6027, allocations: 60.61 kB / 0.7016 GB, free: 43.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.6028, allocations: 5.406 kB / 0.7016 GB, free: 43.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007315/0.6101, allocations: 1.636 MB / 0.7032 GB, free: 42.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.612, allocations: 293.2 kB / 0.7035 GB, free: 42.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.6345, allocations: 8.613 MB / 0.7119 GB, free: 39.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.6367, allocations: 204.8 kB / 0.7121 GB, free: 38.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.6369, allocations: 56.62 kB / 0.7121 GB, free: 38.95 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.0007046/0.6376, allocations: 315.2 kB / 0.7124 GB, free: 38.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.6378, allocations: 132 kB / 0.7126 GB, free: 38.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.6505, allocations: 3.883 MB / 0.7164 GB, free: 37.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.6506, allocations: 10.44 kB / 0.7164 GB, free: 37.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.6506, allocations: 6.438 kB / 0.7164 GB, free: 37.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.6506, allocations: 8.812 kB / 0.7164 GB, free: 37.69 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.01454/0.6651, allocations: 5.477 MB / 0.7217 GB, free: 35.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.6652, allocations: 8.016 kB / 0.7217 GB, free: 35.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.6659, allocations: 104 kB / 0.7218 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005337/0.6712, allocations: 1.592 MB / 0.7234 GB, free: 34.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.6715, allocations: 15.94 kB / 0.7234 GB, free: 34.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.6893, allocations: 9.667 MB / 0.7328 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.6893, allocations: 1.812 kB / 0.7328 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.7026, allocations: 4.756 MB / 0.7375 GB, free: 22.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.7032, allocations: 231.8 kB / 0.7377 GB, free: 22.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.7034, allocations: 20 kB / 0.7377 GB, free: 22.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.7046, allocations: 115.8 kB / 0.7378 GB, free: 22.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005862/0.7052, allocations: 192.7 kB / 0.738 GB, free: 22.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.7053, allocations: 29.84 kB / 0.7381 GB, free: 22.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009651/0.7062, allocations: 0.764 MB / 0.7388 GB, free: 21.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7062, allocations: 0 / 0.7388 GB, free: 21.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001511/0.7077, allocations: 486.1 kB / 0.7393 GB, free: 21.11 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.0002752/0.708, allocations: 138.2 kB / 0.7394 GB, free: 20.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006114/0.7141, allocations: 2.453 MB / 0.7418 GB, free: 18.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7141, allocations: 0 / 0.7418 GB, free: 18.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003795/0.7179, allocations: 1.532 MB / 0.7433 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.719, allocations: 114.4 kB / 0.7434 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.7227, allocations: 2.403 MB / 0.7457 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.7231, allocations: 1.131 MB / 0.7468 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.7235, allocations: 116.1 kB / 0.747 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.7238, allocations: 87.41 kB / 0.747 GB, free: 13.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.764e-06/0.7238, allocations: 0 / 0.747 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Templates: time 0.03695/0.7608, allocations: 24.74 MB / 0.7712 GB, free: 4.348 MB / 0.4981 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: 6.654130301438272]