Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001875/0.001875, 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.444/1.444, 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.001589/0.001589, allocations: 193.7 kB / 302.2 MB, free: 9.102 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.447/0.447, allocations: 79.72 MB / 437 MB, free: 5.605 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 79.88 kB / 0.5823 GB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1373, allocations: 72.09 MB / 0.6527 GB, free: 384 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007666/0.145, allocations: 6.554 MB / 0.6591 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.1493, allocations: 1.974 MB / 0.6611 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.1505, allocations: 12 kB / 0.6611 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009227/0.1514, allocations: 238 kB / 0.6613 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.1541, allocations: 0.8535 MB / 0.6621 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1556, allocations: 0.6369 MB / 0.6628 GB, free: 6.066 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.158, allocations: 1.581 MB / 0.6643 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.1585, allocations: 222.5 kB / 0.6645 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1597, allocations: 0.6573 MB / 0.6652 GB, free: 3.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1608, allocations: 0.8323 MB / 0.666 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.161, allocations: 120 kB / 0.6661 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.1616, allocations: 259.9 kB / 0.6663 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003279/0.1619, allocations: 334.6 kB / 0.6666 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.1625, allocations: 0.668 MB / 0.6673 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.1645, allocations: 1.673 MB / 0.6689 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1645, allocations: 0 / 0.6689 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1645, allocations: 0 / 0.6689 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.1645, allocations: 0 / 0.6689 GB, free: 15.7 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008727/0.1733, allocations: 2.732 MB / 0.6716 GB, free: 12.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1733, allocations: 12.03 kB / 0.6716 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/0.1782, allocations: 0.7757 MB / 0.6724 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.1799, allocations: 0.9029 MB / 0.6733 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.1802, allocations: 256.2 kB / 0.6735 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.1804, allocations: 87.94 kB / 0.6736 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.1826, allocations: 1.082 MB / 0.6746 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1826, allocations: 0 / 0.6746 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.1827, allocations: 32 kB / 0.6747 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1828, allocations: 20 kB / 0.6747 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.1848, allocations: 0.9838 MB / 0.6756 GB, free: 8.656 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.007221/0.192, allocations: 3.805 MB / 0.6794 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007504/0.1995, allocations: 2.29 MB / 0.6816 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.2011, allocations: 0.6176 MB / 0.6822 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.2012, allocations: 20.98 kB / 0.6822 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001905/0.2031, allocations: 0.8138 MB / 0.683 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.516e-06/0.2031, allocations: 0 / 0.683 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.03018/0.2333, allocations: 7.175 MB / 0.69 GB, free: 9.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.2334, allocations: 115.8 kB / 0.6901 GB, free: 9.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.2356, allocations: 1.099 MB / 0.6912 GB, free: 8.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.2359, allocations: 45.69 kB / 0.6913 GB, free: 8.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.2364, allocations: 0.4897 MB / 0.6917 GB, free: 7.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/0.237, allocations: 364.9 kB / 0.6921 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008/0.2378, allocations: 283.5 kB / 0.6924 GB, free: 7.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2379, allocations: 301.1 kB / 0.6926 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.2397, allocations: 0.7574 MB / 0.6934 GB, free: 6.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.2416, allocations: 0.9265 MB / 0.6943 GB, free: 5.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3381/0.5797, allocations: 5.548 MB / 0.6997 GB, free: 42.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.5797, allocations: 1.188 kB / 0.6997 GB, free: 42.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01488/0.5946, allocations: 4.341 MB / 0.7039 GB, free: 42.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.5946, allocations: 64.47 kB / 0.704 GB, free: 42.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.5947, allocations: 3.469 kB / 0.704 GB, free: 42.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006105/0.6008, allocations: 1.592 MB / 0.7056 GB, free: 42.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.6023, allocations: 276.9 kB / 0.7058 GB, free: 42.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/0.6232, allocations: 8.517 MB / 0.7141 GB, free: 38.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.6252, allocations: 201 kB / 0.7143 GB, free: 38.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.6255, allocations: 59.19 kB / 0.7144 GB, free: 38.61 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007268/0.6262, allocations: 309 kB / 0.7147 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.6265, allocations: 131.1 kB / 0.7148 GB, free: 38.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.6396, allocations: 3.838 MB / 0.7186 GB, free: 37.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.6396, allocations: 10.16 kB / 0.7186 GB, free: 37.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.6396, allocations: 8 kB / 0.7186 GB, free: 37.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/0.6396, allocations: 5.109 kB / 0.7186 GB, free: 37.38 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.0159/0.6555, allocations: 5.428 MB / 0.7239 GB, free: 35.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.6555, allocations: 0 / 0.7239 GB, free: 35.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.6562, allocations: 98.22 kB / 0.724 GB, free: 34.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00545/0.6617, allocations: 1.61 MB / 0.7255 GB, free: 34.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.6619, allocations: 25.34 kB / 0.7256 GB, free: 34.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.6802, allocations: 9.642 MB / 0.735 GB, free: 27.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6802, allocations: 0 / 0.735 GB, free: 27.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.6933, allocations: 4.707 MB / 0.7396 GB, free: 23.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.6938, allocations: 234 kB / 0.7398 GB, free: 22.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/0.6942, allocations: 16 kB / 0.7398 GB, free: 22.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.6956, allocations: 115.4 kB / 0.7399 GB, free: 22.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/0.6962, allocations: 192.7 kB / 0.7401 GB, free: 22.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.6964, allocations: 33.3 kB / 0.7401 GB, free: 22.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.6975, allocations: 0.7315 MB / 0.7409 GB, free: 21.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6975, allocations: 1.031 kB / 0.7409 GB, free: 21.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001841/0.6994, allocations: 476.5 kB / 0.7413 GB, free: 21.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.6997, allocations: 131.9 kB / 0.7414 GB, free: 21.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005967/0.7057, allocations: 2.372 MB / 0.7438 GB, free: 18.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7057, allocations: 12.19 kB / 0.7438 GB, free: 18.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.7096, allocations: 1.528 MB / 0.7453 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.711, allocations: 114.5 kB / 0.7454 GB, free: 17.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.7155, allocations: 2.243 MB / 0.7476 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.7161, allocations: 1.124 MB / 0.7487 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005128/0.7166, allocations: 115.9 kB / 0.7488 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.717, allocations: 79.59 kB / 0.7488 GB, free: 13.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/0.717, allocations: 4 kB / 0.7489 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Templates: time 0.03969/0.7566, allocations: 24.65 MB / 0.7729 GB, free: 4.941 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5323302220058395]