Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001791/0.001791, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.585/1.585, allocations: 177.1 MB / 199.7 MB, free: 5.773 MB / 186.7 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.002138/0.002138, allocations: 164 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5123/0.5123, allocations: 80.37 MB / 393.1 MB, free: 2.133 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 489.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.023e-05, allocations: 2.312 kB / 489.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.009277/0.009308, allocations: 6.327 MB / 495.6 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.01413, allocations: 1.99 MB / 497.6 MB, free: 3.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008724/0.015, allocations: 9.094 kB / 497.6 MB, free: 3.551 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.01587, allocations: 249.8 kB / 497.8 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.0186, allocations: 0.8799 MB / 498.7 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.0203, allocations: 0.6449 MB / 499.3 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.02298, allocations: 1.632 MB / 0.4892 GB, free: 160 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.02354, allocations: 215 kB / 0.4894 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.02528, allocations: 0.9326 MB / 0.4903 GB, free: 15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.02651, allocations: 0.7048 MB / 0.491 GB, free: 14.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.02688, allocations: 128 kB / 0.4912 GB, free: 14.17 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.02766, allocations: 277.4 kB / 0.4914 GB, free: 13.9 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.0281, allocations: 358.4 kB / 0.4918 GB, free: 13.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007132/0.02881, allocations: 470.5 kB / 0.4922 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.0314, allocations: 1.787 MB / 0.494 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.03141, allocations: 4.906 kB / 0.494 GB, free: 11.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.03141, allocations: 0 / 0.494 GB, free: 11.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.03145, allocations: 0 / 0.494 GB, free: 11.29 MB / 426.7 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.01086/0.04231, allocations: 3.12 MB / 0.497 GB, free: 8.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.04235, allocations: 8.031 kB / 0.497 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.04805, allocations: 0.9279 MB / 0.4979 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.05017, allocations: 0.8766 MB / 0.4988 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.05059, allocations: 329.3 kB / 0.4991 GB, free: 5.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.05085, allocations: 95.94 kB / 0.4992 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.05348, allocations: 1.121 MB / 0.5003 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.0535, allocations: 0 / 0.5003 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.05361, allocations: 32 kB / 0.5003 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.05363, allocations: 19.94 kB / 0.5003 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.05608, allocations: 0.966 MB / 0.5013 GB, free: 3.648 MB / 426.7 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.008345/0.06443, allocations: 3.17 MB / 0.5044 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006504/0.07093, allocations: 1.608 MB / 0.5059 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.07253, allocations: 0.6248 MB / 0.5065 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.07267, allocations: 28.98 kB / 0.5066 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.0746, allocations: 0.8539 MB / 0.5074 GB, free: 13.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.416e-06/0.0746, allocations: 0 / 0.5074 GB, free: 13.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.0292/0.1038, allocations: 6.262 MB / 0.5135 GB, free: 6.918 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1039, allocations: 115.8 kB / 0.5136 GB, free: 6.777 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.1061, allocations: 1.289 MB / 0.5149 GB, free: 5.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.1063, allocations: 45.7 kB / 0.5149 GB, free: 5.422 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006273/0.1069, allocations: 0.6017 MB / 0.5155 GB, free: 4.812 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006001/0.1075, allocations: 396.8 kB / 0.5159 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007055/0.1082, allocations: 341.1 kB / 0.5162 GB, free: 4.082 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.1085, allocations: 480.7 kB / 0.5167 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.1105, allocations: 0.7686 MB / 0.5174 GB, free: 2.828 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.1128, allocations: 1.009 MB / 0.5184 GB, free: 1.754 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005981/0.1188, allocations: 2.769 MB / 0.5211 GB, free: 14.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1188, allocations: 4 kB / 0.5211 GB, free: 14.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01462/0.1334, allocations: 4.067 MB / 0.5251 GB, free: 10.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.1335, allocations: 63.34 kB / 0.5252 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.1335, allocations: 7.938 kB / 0.5252 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/0.1447, allocations: 2.055 MB / 0.5272 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.1465, allocations: 287.5 kB / 0.5275 GB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.1687, allocations: 8.37 MB / 0.5356 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.1706, allocations: 167.1 kB / 0.5358 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.1708, allocations: 59.97 kB / 0.5358 GB, free: 15.64 MB / 474.7 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 (162): * Single equations (assignments): 159 * 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.000846/0.1717, allocations: 354.2 kB / 0.5362 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.1721, allocations: 163.1 kB / 0.5363 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.1848, allocations: 3.459 MB / 0.5397 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.1848, allocations: 12 kB / 0.5397 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.1848, allocations: 16 kB / 0.5397 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.1848, allocations: 3.984 kB / 0.5397 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.1998, allocations: 4.757 MB / 0.5444 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.1999, allocations: 0 / 0.5444 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/0.2006, allocations: 99.89 kB / 0.5445 GB, free: 6.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/0.2109, allocations: 2.018 MB / 0.5465 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.2112, allocations: 27.98 kB / 0.5465 GB, free: 4.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.2332, allocations: 9.888 MB / 0.5561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2332, allocations: 0 / 0.5561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/0.2478, allocations: 4.413 MB / 0.5604 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.2483, allocations: 154.9 kB / 0.5606 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.2485, allocations: 20 kB / 0.5606 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.2496, allocations: 75.92 kB / 0.5607 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/0.2503, allocations: 216.5 kB / 0.5609 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.2504, allocations: 28 kB / 0.5609 GB, free: 5.512 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.2517, allocations: 0.813 MB / 0.5617 GB, free: 4.691 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2517, allocations: 0 / 0.5617 GB, free: 4.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001669/0.2534, allocations: 487.6 kB / 0.5622 GB, free: 4.215 MB / 490.7 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.0003609/0.2537, allocations: 143.6 kB / 0.5623 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007391/0.2611, allocations: 2.533 MB / 0.5648 GB, free: 1.465 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2611, allocations: 0 / 0.5648 GB, free: 1.465 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004598/0.2657, allocations: 1.612 MB / 0.5664 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.2669, allocations: 131.5 kB / 0.5665 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.2722, allocations: 2.316 MB / 0.5688 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.2729, allocations: 0.5436 MB / 0.5693 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005675/0.2734, allocations: 120 kB / 0.5694 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.2737, allocations: 88.47 kB / 0.5695 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.744e-06/0.2737, allocations: 0 / 0.5695 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.04907/0.3228, allocations: 27.66 MB / 0.5965 GB, free: 0.9609 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.658429923932999]