Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001505/0.001505, allocations: 88.72 kB / 19.44 MB, free: 356 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.527/1.527, allocations: 177.1 MB / 199.7 MB, free: 5.812 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.001774/0.001774, allocations: 163.7 kB / 256.3 MB, free: 13.17 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.4682/0.4682, allocations: 80.26 MB / 393 MB, free: 2.207 MB / 314.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 489.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.334e-05, allocations: 4.562 kB / 489.2 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0244/0.02443, allocations: 18.5 MB / 0.4958 GB, free: 9.246 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.04038, allocations: 4.84 MB / 0.5005 GB, free: 4.441 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/0.04636, allocations: 45.81 kB / 0.5006 GB, free: 4.398 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004037/0.0504, allocations: 0.8827 MB / 0.5014 GB, free: 3.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.06151, allocations: 2.341 MB / 0.5037 GB, free: 1.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007602/0.06911, allocations: 2.056 MB / 0.5057 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01241/0.08153, allocations: 5.854 MB / 0.5115 GB, free: 9.227 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.08483, allocations: 0.8649 MB / 0.5123 GB, free: 8.309 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.09496, allocations: 3.307 MB / 0.5155 GB, free: 4.992 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005612/0.1006, allocations: 2.258 MB / 0.5177 GB, free: 2.727 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.1027, allocations: 440 kB / 0.5182 GB, free: 2.297 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.1057, allocations: 0.5935 MB / 0.5187 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.108, allocations: 1.166 MB / 0.5199 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004703/0.1127, allocations: 1.725 MB / 0.5216 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.1256, allocations: 6.333 MB / 0.5277 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1256, allocations: 0 / 0.5277 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1256, allocations: 4 kB / 0.5277 GB, free: 8.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003292/0.126, allocations: 0 / 0.5277 GB, free: 8.438 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.0405/0.1665, allocations: 9.841 MB / 0.5374 GB, free: 14.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.1665, allocations: 8.031 kB / 0.5374 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/0.1963, allocations: 4.733 MB / 0.542 GB, free: 9.762 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007737/0.204, allocations: 2.645 MB / 0.5446 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/0.2056, allocations: 1.037 MB / 0.5456 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.2072, allocations: 348 kB / 0.5459 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.2221, allocations: 4.748 MB / 0.5505 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.922e-05/0.2222, allocations: 0 / 0.5505 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009395/0.2231, allocations: 140 kB / 0.5507 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.141e-05/0.2232, allocations: 91.92 kB / 0.5508 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.2339, allocations: 4.253 MB / 0.5549 GB, free: 12.22 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.03596/0.2698, allocations: 13.15 MB / 0.5678 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.2831, allocations: 4.361 MB / 0.572 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006534/0.2896, allocations: 2.499 MB / 0.5745 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.2902, allocations: 82.95 kB / 0.5745 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008367/0.2986, allocations: 3.202 MB / 0.5777 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 1.022e-05/0.2986, allocations: 0 / 0.5777 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.5635/0.8621, allocations: 67.99 MB / 0.6441 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.8622, allocations: 141.8 kB / 0.6442 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.8662, allocations: 3.212 MB / 0.6473 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/0.8673, allocations: 93.69 kB / 0.6474 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.8685, allocations: 1.997 MB / 0.6494 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.8701, allocations: 1.364 MB / 0.6507 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.8713, allocations: 0.6587 MB / 0.6514 GB, free: 131 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.8714, allocations: 305.1 kB / 0.6516 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004804/0.8762, allocations: 2.623 MB / 0.6542 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/0.8814, allocations: 3.255 MB / 0.6574 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06643/0.9478, allocations: 18.96 MB / 0.6759 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/0.9478, allocations: 4 kB / 0.6759 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.05466/1.002, allocations: 17.34 MB / 0.6928 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-05/1.003, allocations: 63.41 kB / 0.6929 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/1.003, allocations: 16 kB / 0.6929 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04964/1.052, allocations: 10.6 MB / 0.7033 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/1.056, allocations: 0.6597 MB / 0.7039 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07766/1.133, allocations: 32.45 MB / 0.7356 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/1.14, allocations: 0.6206 MB / 0.7362 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007107/1.14, allocations: 152 kB / 0.7364 GB, free: 43.36 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 (396): * Single equations (assignments): 393 * 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.001868/1.142, allocations: 0.6757 MB / 0.737 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.144, allocations: 0.5791 MB / 0.7376 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05266/1.196, allocations: 16.74 MB / 0.7539 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-05/1.196, allocations: 40 kB / 0.754 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.046e-05/1.196, allocations: 28 kB / 0.754 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/1.196, allocations: 15.94 kB / 0.754 GB, free: 25.21 MB / 0.5105 GB 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.05795/1.254, allocations: 20.02 MB / 0.7736 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/1.254, allocations: 0 / 0.7736 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.257, allocations: 391.5 kB / 0.7739 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04957/1.307, allocations: 10.82 MB / 0.7845 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/1.308, allocations: 71.98 kB / 0.7846 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3393/1.647, allocations: 30.84 MB / 0.8147 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.647, allocations: 3.875 kB / 0.8147 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06175/1.709, allocations: 20.27 MB / 0.8345 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.71, allocations: 0.5001 MB / 0.835 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.711, allocations: 67.42 kB / 0.835 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004087/1.715, allocations: 378.9 kB / 0.8354 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003098/1.719, allocations: 0.8152 MB / 0.8362 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/1.719, allocations: 94.77 kB / 0.8363 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002598/1.721, allocations: 2.092 MB / 0.8383 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.721, allocations: 0 / 0.8383 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005749/1.727, allocations: 1.808 MB / 0.8401 GB, free: 148.5 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.0006418/1.728, allocations: 197.4 kB / 0.8403 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02326/1.751, allocations: 8.834 MB / 0.8489 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.751, allocations: 0 / 0.8489 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0188/1.77, allocations: 5.879 MB / 0.8546 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.774, allocations: 475.4 kB / 0.8551 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.787, allocations: 8.052 MB / 0.863 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.788, allocations: 1.927 MB / 0.8648 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001552/1.79, allocations: 379.1 kB / 0.8652 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008411/1.791, allocations: 256.4 kB / 0.8654 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/1.791, allocations: 0 / 0.8654 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1155/1.906, allocations: 96.98 MB / 0.9602 GB, free: 28.68 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.14026998297777]