Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.0009375/0.0009375, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9329/0.9329, allocations: 177.1 MB / 200 MB, free: 5.543 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.001139/0.001139, allocations: 156.6 kB / 256.6 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3106/0.3106, allocations: 80.24 MB / 393.4 MB, free: 3.211 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 489.8 MB, free: 63.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.829e-05, allocations: 5.672 kB / 489.8 MB, free: 63.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008231/0.008249, allocations: 12.89 MB / 0.491 GB, free: 50.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.01303, allocations: 3.488 MB / 0.4944 GB, free: 46.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.01372, allocations: 32.5 kB / 0.4944 GB, free: 46.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007698/0.01449, allocations: 0.5625 MB / 0.4949 GB, free: 46.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.01639, allocations: 1.602 MB / 0.4965 GB, free: 44.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.01811, allocations: 1.519 MB / 0.498 GB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.01982, allocations: 3.751 MB / 0.5017 GB, free: 39.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.02037, allocations: 0.5814 MB / 0.5022 GB, free: 38.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.02155, allocations: 2.129 MB / 0.5043 GB, free: 36.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.02256, allocations: 1.577 MB / 0.5058 GB, free: 34.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.02287, allocations: 285.6 kB / 0.5061 GB, free: 34.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.02333, allocations: 443.7 kB / 0.5065 GB, free: 34.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.02365, allocations: 0.7778 MB / 0.5073 GB, free: 33.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.02419, allocations: 1.086 MB / 0.5084 GB, free: 32.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.02576, allocations: 2.885 MB / 0.5112 GB, free: 29.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.02576, allocations: 0 / 0.5112 GB, free: 29.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.02577, allocations: 0 / 0.5112 GB, free: 29.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.02578, allocations: 4 kB / 0.5112 GB, free: 29.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.0104/0.03618, allocations: 7.567 MB / 0.5186 GB, free: 21.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.03623, allocations: 12.02 kB / 0.5186 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.04356, allocations: 2.733 MB / 0.5212 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.04521, allocations: 1.738 MB / 0.5229 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.04551, allocations: 0.8179 MB / 0.5237 GB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.04576, allocations: 220 kB / 0.5239 GB, free: 16.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.04801, allocations: 2.007 MB / 0.5259 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.04803, allocations: 0 / 0.5259 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.04819, allocations: 84 kB / 0.526 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.04821, allocations: 52 kB / 0.526 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.05011, allocations: 1.327 MB / 0.5273 GB, free: 12.48 MB / 410.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.008098/0.05821, allocations: 6.97 MB / 0.5341 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.06169, allocations: 2.128 MB / 0.5362 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.06273, allocations: 0.8936 MB / 0.5371 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.06293, allocations: 53.98 kB / 0.5371 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.06432, allocations: 1.319 MB / 0.5384 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 3.667e-06/0.06432, allocations: 0 / 0.5384 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.05072/0.115, allocations: 21.24 MB / 0.5592 GB, free: 11.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.1151, allocations: 184.2 kB / 0.5594 GB, free: 11.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.117, allocations: 2.051 MB / 0.5614 GB, free: 9.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.1171, allocations: 65.7 kB / 0.5614 GB, free: 9.156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/0.1178, allocations: 1.258 MB / 0.5626 GB, free: 7.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005761/0.1184, allocations: 0.9102 MB / 0.5635 GB, free: 6.969 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007367/0.1191, allocations: 0.569 MB / 0.5641 GB, free: 6.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.1192, allocations: 476.8 kB / 0.5645 GB, free: 5.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.1206, allocations: 0.9616 MB / 0.5655 GB, free: 4.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.1222, allocations: 1.43 MB / 0.5669 GB, free: 3.348 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.1266, allocations: 3.744 MB / 0.5705 GB, free: 15.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.1266, allocations: 4 kB / 0.5705 GB, free: 15.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01582/0.1424, allocations: 8.486 MB / 0.5788 GB, free: 6.797 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.1425, allocations: 114.8 kB / 0.5789 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1425, allocations: 8 kB / 0.5789 GB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/0.1556, allocations: 5.329 MB / 0.5841 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.157, allocations: 0.5695 MB / 0.5847 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.1754, allocations: 9.447 MB / 0.5939 GB, free: 7.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.1772, allocations: 410 kB / 0.5943 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.1774, allocations: 120 kB / 0.5944 GB, free: 6.641 MB / 474.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 4 * 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 {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006997/0.1781, allocations: 387.5 kB / 0.5948 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.1786, allocations: 378 kB / 0.5952 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.1941, allocations: 7.839 MB / 0.6028 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.1941, allocations: 28 kB / 0.6028 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.1941, allocations: 20 kB / 0.6029 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.1941, allocations: 15.89 kB / 0.6029 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.2121, allocations: 10.2 MB / 0.6128 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2121, allocations: 4.062 kB / 0.6128 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.2128, allocations: 247.6 kB / 0.6131 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1948/0.4076, allocations: 5.28 MB / 0.6182 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006405/0.4082, allocations: 50.27 kB / 0.6183 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.4273, allocations: 13.39 MB / 0.6314 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4273, allocations: 3.844 kB / 0.6314 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/0.444, allocations: 8.817 MB / 0.64 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.4445, allocations: 341.2 kB / 0.6403 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.4447, allocations: 46.69 kB / 0.6403 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.4459, allocations: 218.2 kB / 0.6406 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009355/0.4468, allocations: 0.5719 MB / 0.6411 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.447, allocations: 71.12 kB / 0.6412 GB, free: 120.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.448, allocations: 1.221 MB / 0.6424 GB, free: 120.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.448, allocations: 0 / 0.6424 GB, free: 120.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002061/0.4501, allocations: 1.175 MB / 0.6435 GB, free: 120 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003475/0.4504, allocations: 179.7 kB / 0.6437 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006481/0.4569, allocations: 4.425 MB / 0.648 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4569, allocations: 0 / 0.648 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004694/0.4616, allocations: 3.302 MB / 0.6512 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4626, allocations: 307.7 kB / 0.6515 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/0.4683, allocations: 4.92 MB / 0.6563 GB, free: 109.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4686, allocations: 0.5432 MB / 0.6569 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004554/0.4691, allocations: 258.8 kB / 0.6571 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.4695, allocations: 179.9 kB / 0.6573 GB, free: 108.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4695, allocations: 0 / 0.6573 GB, free: 108.3 MB / 490.7 MB Notification: Performance of Templates: time 0.05854/0.528, allocations: 72.64 MB / 0.7282 GB, free: 37.3 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.362520679831505]