Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001822/0.001822, allocations: 85.48 kB / 19.44 MB, free: 344 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.555/1.555, allocations: 177.1 MB / 199.7 MB, free: 5.785 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.002045/0.002045, allocations: 164.1 kB / 256.3 MB, free: 13.17 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.5021/0.5021, allocations: 80.37 MB / 393.1 MB, free: 2.156 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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.499e-06/4.499e-06, allocations: 4 kB / 489.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.555e-05, allocations: 2.312 kB / 489.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02494/0.02497, allocations: 20.45 MB / 0.4979 GB, free: 7.238 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.03815, allocations: 4.875 MB / 0.5026 GB, free: 2.395 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004878/0.04303, allocations: 49.47 kB / 0.5027 GB, free: 2.348 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.04674, allocations: 0.875 MB / 0.5035 GB, free: 1.465 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.05645, allocations: 2.35 MB / 0.5058 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.06338, allocations: 2.05 MB / 0.5078 GB, free: 13.06 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.07402, allocations: 5.858 MB / 0.5135 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.07694, allocations: 0.861 MB / 0.5144 GB, free: 6.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007733/0.08467, allocations: 3.311 MB / 0.5176 GB, free: 2.945 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004683/0.08936, allocations: 2.286 MB / 0.5198 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.09108, allocations: 436 kB / 0.5203 GB, free: 232 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.09368, allocations: 0.5974 MB / 0.5208 GB, free: 15.63 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.09566, allocations: 1.17 MB / 0.522 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.09958, allocations: 1.729 MB / 0.5237 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.1103, allocations: 6.352 MB / 0.5299 GB, free: 6.344 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1103, allocations: 0 / 0.5299 GB, free: 6.344 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1103, allocations: 0 / 0.5299 GB, free: 6.344 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002845/0.1106, allocations: 3.984 kB / 0.5299 GB, free: 6.34 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03927/0.1499, allocations: 10.74 MB / 0.5404 GB, free: 11.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1499, allocations: 8.031 kB / 0.5404 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0293/0.1792, allocations: 4.792 MB / 0.5451 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006662/0.1859, allocations: 2.651 MB / 0.5477 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/0.1871, allocations: 1.013 MB / 0.5486 GB, free: 2.781 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.1883, allocations: 348 kB / 0.549 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.1999, allocations: 4.788 MB / 0.5536 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/0.2, allocations: 0 / 0.5536 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/0.2004, allocations: 140 kB / 0.5538 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.678e-05/0.2005, allocations: 87.94 kB / 0.5539 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.2111, allocations: 4.066 MB / 0.5578 GB, free: 9.312 MB / 490.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.04038/0.2515, allocations: 14.15 MB / 0.5717 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.2647, allocations: 3.945 MB / 0.5755 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007425/0.2721, allocations: 2.458 MB / 0.5779 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.2728, allocations: 82.94 kB / 0.578 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008474/0.2813, allocations: 3.229 MB / 0.5811 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 7.985e-06/0.2813, allocations: 0 / 0.5811 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.4978/0.7791, allocations: 61.23 MB / 0.6409 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.7792, allocations: 149.4 kB / 0.6411 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004968/0.7841, allocations: 3.822 MB / 0.6448 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009994/0.7851, allocations: 91.7 kB / 0.6449 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.7864, allocations: 2.215 MB / 0.6471 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/0.7883, allocations: 1.435 MB / 0.6485 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/0.79, allocations: 0.7844 MB / 0.6492 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.7901, allocations: 480.8 kB / 0.6497 GB, free: 133 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/0.795, allocations: 2.476 MB / 0.6521 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005889/0.8009, allocations: 3.394 MB / 0.6554 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/0.8179, allocations: 9.511 MB / 0.6647 GB, free: 117 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.8179, allocations: 4 kB / 0.6647 GB, free: 117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.0497/0.8676, allocations: 15.59 MB / 0.6799 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.8677, allocations: 67.39 kB / 0.68 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/0.8677, allocations: 16.55 kB / 0.68 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04268/0.9104, allocations: 9.149 MB / 0.6889 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.9141, allocations: 0.6637 MB / 0.6896 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07533/0.9894, allocations: 31.2 MB / 0.7201 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/0.9951, allocations: 0.5325 MB / 0.7206 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008832/0.996, allocations: 148 kB / 0.7207 GB, free: 59.44 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (398): * Single equations (assignments): 395 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002119/0.9981, allocations: 0.7145 MB / 0.7214 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/0.9995, allocations: 0.5879 MB / 0.722 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04688/1.046, allocations: 15.04 MB / 0.7367 GB, free: 43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/1.046, allocations: 36 kB / 0.7367 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.787e-05/1.047, allocations: 31.98 kB / 0.7368 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.442e-05/1.047, allocations: 19.94 kB / 0.7368 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/1.101, allocations: 19.05 MB / 0.7554 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.101, allocations: 0 / 0.7554 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.103, allocations: 391.5 kB / 0.7557 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04337/1.146, allocations: 9.353 MB / 0.7649 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001415/1.148, allocations: 75.98 kB / 0.765 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2751/1.423, allocations: 30.41 MB / 0.7946 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.423, allocations: 1.375 kB / 0.7946 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0561/1.479, allocations: 18.45 MB / 0.8127 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.48, allocations: 0.5034 MB / 0.8132 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.482, allocations: 65.23 kB / 0.8132 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00439/1.486, allocations: 286.1 kB / 0.8135 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002834/1.489, allocations: 0.8193 MB / 0.8143 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004829/1.489, allocations: 98.48 kB / 0.8144 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003363/1.493, allocations: 2.28 MB / 0.8166 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.493, allocations: 0 / 0.8166 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005665/1.498, allocations: 1.804 MB / 0.8184 GB, free: 155.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007303/1.499, allocations: 207.9 kB / 0.8186 GB, free: 155 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02253/1.522, allocations: 8.681 MB / 0.827 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.522, allocations: 0 / 0.827 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0169/1.539, allocations: 5.847 MB / 0.8328 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/1.542, allocations: 481.2 kB / 0.8332 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.555, allocations: 8.073 MB / 0.8411 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.557, allocations: 1.927 MB / 0.843 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001406/1.558, allocations: 365.3 kB / 0.8433 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/1.559, allocations: 263.2 kB / 0.8436 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.084e-06/1.559, allocations: 4 kB / 0.8436 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.112/1.671, allocations: 101.8 MB / 0.943 GB, free: 44.23 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.6779160030419]