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.0009682/0.0009682, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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 0.9884/0.9884, allocations: 177.2 MB / 200.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.001267/0.001267, allocations: 160.7 kB / 257 MB, free: 13.03 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.2697/0.2697, allocations: 80.35 MB / 393.8 MB, free: 2.164 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.984e-06/1.984e-06, allocations: 0.6562 kB / 490 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.147e-05, allocations: 4.703 kB / 490 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007738/0.007769, allocations: 6.356 MB / 496.3 MB, free: 5.484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.01263, allocations: 1.995 MB / 498.3 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.01386, allocations: 11.94 kB / 498.3 MB, free: 3.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.01474, allocations: 246.8 kB / 498.6 MB, free: 3.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.01745, allocations: 0.8788 MB / 499.5 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.01895, allocations: 0.6497 MB / 0.4884 GB, free: 1.727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.02147, allocations: 1.636 MB / 0.49 GB, free: 88 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.02202, allocations: 211 kB / 0.4902 GB, free: 15.87 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.0238, allocations: 0.9361 MB / 0.4911 GB, free: 14.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.02443, allocations: 0.6971 MB / 0.4918 GB, free: 14.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.02456, allocations: 128 kB / 0.4919 GB, free: 14.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.02502, allocations: 281 kB / 0.4922 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.02522, allocations: 354.4 kB / 0.4925 GB, free: 13.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.02555, allocations: 474.5 kB / 0.493 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.02677, allocations: 1.257 MB / 0.4942 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.02677, allocations: 0.625 kB / 0.4942 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.02678, allocations: 0 / 0.4942 GB, free: 11.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.02679, allocations: 0.5312 kB / 0.4942 GB, free: 11.76 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.004887/0.03168, allocations: 2.983 MB / 0.4971 GB, free: 8.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.03172, allocations: 9.094 kB / 0.4971 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.03482, allocations: 0.9294 MB / 0.498 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.03574, allocations: 0.8267 MB / 0.4988 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.03592, allocations: 333.3 kB / 0.4991 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.03604, allocations: 91.94 kB / 0.4992 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.037, allocations: 0.7539 MB / 0.5 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.03701, allocations: 0 / 0.5 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.03708, allocations: 32 kB / 0.5 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.03709, allocations: 23.88 kB / 0.5 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.03785, allocations: 0.4974 MB / 0.5005 GB, free: 5.133 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.003295/0.04115, allocations: 2.726 MB / 0.5032 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.04373, allocations: 1.26 MB / 0.5044 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.04417, allocations: 347.9 kB / 0.5047 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.04424, allocations: 20.98 kB / 0.5047 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/0.04492, allocations: 0.5337 MB / 0.5053 GB, free: 104 kB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.354e-06/0.04492, allocations: 0 / 0.5053 GB, free: 104 kB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.01168/0.0566, allocations: 5.099 MB / 0.5102 GB, free: 10.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.05665, allocations: 119.8 kB / 0.5104 GB, free: 10.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/0.05745, allocations: 1.008 MB / 0.5113 GB, free: 9.797 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.05752, allocations: 49.7 kB / 0.5114 GB, free: 9.742 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.05788, allocations: 0.5586 MB / 0.5119 GB, free: 9.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.0581, allocations: 372.9 kB / 0.5123 GB, free: 8.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.05841, allocations: 297.1 kB / 0.5126 GB, free: 8.516 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.0585, allocations: 480.7 kB / 0.513 GB, free: 8.043 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.05908, allocations: 443.2 kB / 0.5135 GB, free: 7.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.05977, allocations: 0.6416 MB / 0.5141 GB, free: 6.891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.06162, allocations: 1.661 MB / 0.5157 GB, free: 5.145 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.06162, allocations: 4 kB / 0.5157 GB, free: 5.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005549/0.06717, allocations: 3.114 MB / 0.5188 GB, free: 1.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.06722, allocations: 63.39 kB / 0.5188 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.06723, allocations: 0 / 0.5188 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00451/0.07174, allocations: 1.665 MB / 0.5204 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.07243, allocations: 283.6 kB / 0.5207 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007782/0.08022, allocations: 4.527 MB / 0.5251 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/0.08102, allocations: 167.2 kB / 0.5253 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.0811, allocations: 67.97 kB / 0.5254 GB, free: 11.08 MB / 458.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.0003844/0.08149, allocations: 267.2 kB / 0.5256 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.08192, allocations: 167.1 kB / 0.5258 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/0.08686, allocations: 2.596 MB / 0.5283 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.08687, allocations: 12 kB / 0.5283 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.08688, allocations: 8 kB / 0.5283 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.08689, allocations: 3.984 kB / 0.5283 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00605/0.09294, allocations: 3.687 MB / 0.5319 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.09294, allocations: 0 / 0.5319 GB, free: 4.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.09326, allocations: 99.89 kB / 0.532 GB, free: 4.129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/0.09757, allocations: 1.628 MB / 0.5336 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.09764, allocations: 23.98 kB / 0.5336 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/0.1047, allocations: 6.428 MB / 0.5399 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1047, allocations: 0 / 0.5399 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005451/0.1101, allocations: 3.054 MB / 0.5429 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.1103, allocations: 158.8 kB / 0.543 GB, free: 8.516 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.1104, allocations: 20 kB / 0.5431 GB, free: 8.496 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.1109, allocations: 79.92 kB / 0.5431 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.1113, allocations: 192.6 kB / 0.5433 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.1113, allocations: 35.97 kB / 0.5434 GB, free: 8.195 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005645/0.1119, allocations: 0.6334 MB / 0.544 GB, free: 7.555 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1119, allocations: 0 / 0.544 GB, free: 7.555 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001047/0.1129, allocations: 487.6 kB / 0.5444 GB, free: 7.078 MB / 474.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.0002571/0.1132, allocations: 143.8 kB / 0.5446 GB, free: 6.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.116, allocations: 1.858 MB / 0.5464 GB, free: 5.004 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.116, allocations: 4 kB / 0.5464 GB, free: 5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.1179, allocations: 1.291 MB / 0.5477 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.1184, allocations: 145.9 kB / 0.5478 GB, free: 3.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.1215, allocations: 2.138 MB / 0.5499 GB, free: 1.324 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.1217, allocations: 249.6 kB / 0.5501 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.1219, allocations: 120 kB / 0.5502 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.1221, allocations: 76.48 kB / 0.5503 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1221, allocations: 0 / 0.5503 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of Templates: time 0.02824/0.1504, allocations: 27.69 MB / 0.5774 GB, free: 5.285 MB / 0.4948 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: 4.2500062067992985]