Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001259/0.001259, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 1.039/1.039, allocations: 177.2 MB / 200.3 MB, free: 5.664 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.001753/0.001753, allocations: 152.6 kB / 257 MB, free: 12.96 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.4194/0.4194, allocations: 80.23 MB / 340.5 MB, free: 9.633 MB / 314.7 MB " [Timeout remaining time 180] 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 384 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.557e-05, allocations: 2.312 kB / 384 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01454/0.01456, allocations: 20.12 MB / 404.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.02699, allocations: 5.213 MB / 409.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.0313, allocations: 44 kB / 409.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.03456, allocations: 0.9216 MB / 410.3 MB, free: 4.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007832/0.04239, allocations: 2.416 MB / 412.7 MB, free: 1.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004827/0.04722, allocations: 2.063 MB / 414.7 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009594/0.05681, allocations: 5.948 MB / 420.7 MB, free: 9.621 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.05916, allocations: 0.908 MB / 421.6 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007315/0.06647, allocations: 3.385 MB / 425 MB, free: 5.246 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.07011, allocations: 2.348 MB / 427.3 MB, free: 2.891 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.07126, allocations: 444 kB / 427.8 MB, free: 2.457 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.07262, allocations: 0.6208 MB / 428.4 MB, free: 1.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007579/0.07337, allocations: 1.194 MB / 429.6 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.07519, allocations: 1.752 MB / 431.3 MB, free: 14.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.08202, allocations: 4.544 MB / 435.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.08203, allocations: 0 / 435.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.08203, allocations: 0 / 435.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003112/0.08234, allocations: 3.984 kB / 435.9 MB, free: 10.31 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01663/0.09897, allocations: 9.389 MB / 445.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.09901, allocations: 8.031 kB / 445.3 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2332/0.3322, allocations: 5.124 MB / 450.4 MB, free: 63.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0048/0.337, allocations: 1.8 MB / 452.2 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/0.3375, allocations: 1.014 MB / 453.2 MB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/0.338, allocations: 355.9 kB / 453.6 MB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.3415, allocations: 2.885 MB / 456.4 MB, free: 62.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.3415, allocations: 3.938 kB / 456.4 MB, free: 62.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.3417, allocations: 142.1 kB / 456.6 MB, free: 62.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.3418, allocations: 88.69 kB / 456.7 MB, free: 62.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.3439, allocations: 1.353 MB / 458 MB, free: 62.22 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.01474/0.3586, allocations: 9.489 MB / 467.5 MB, free: 54.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.3618, allocations: 2.141 MB / 469.7 MB, free: 52.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3629, allocations: 0.824 MB / 470.5 MB, free: 51.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.3631, allocations: 86.34 kB / 470.6 MB, free: 51.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.3649, allocations: 1.648 MB / 472.2 MB, free: 49.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=385): time 8.356e-06/0.3649, allocations: 0 / 472.2 MB, free: 49.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=385): time 0.1335/0.4984, allocations: 53.16 MB / 0.5131 GB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.4985, allocations: 145.8 kB / 0.5132 GB, free: 12.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.5021, allocations: 2.742 MB / 0.5159 GB, free: 9.977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008831/0.503, allocations: 93.73 kB / 0.516 GB, free: 9.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/0.5038, allocations: 1.329 MB / 0.5173 GB, free: 8.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/0.5053, allocations: 1.391 MB / 0.5186 GB, free: 7.477 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009275/0.5062, allocations: 0.6898 MB / 0.5193 GB, free: 6.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.5063, allocations: 301.1 kB / 0.5196 GB, free: 6.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.508, allocations: 0.9546 MB / 0.5205 GB, free: 5.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.5099, allocations: 1.574 MB / 0.522 GB, free: 3.695 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005593/0.5154, allocations: 4.284 MB / 0.5262 GB, free: 15.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/0.5155, allocations: 4 kB / 0.5262 GB, free: 15.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=541) (initialization): time 0.02126/0.5367, allocations: 10.53 MB / 0.5365 GB, free: 4.578 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.5368, allocations: 63.41 kB / 0.5366 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.5368, allocations: 16 kB / 0.5366 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02056/0.5574, allocations: 7.442 MB / 0.5439 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.5599, allocations: 0.7576 MB / 0.5446 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0248/0.5847, allocations: 12.03 MB / 0.5563 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003677/0.5884, allocations: 0.5402 MB / 0.5569 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/0.5889, allocations: 116 kB / 0.557 GB, free: 15.55 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (404): * Single equations (assignments): 401 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.00117/0.5901, allocations: 368.1 kB / 0.5573 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008691/0.5909, allocations: 401.1 kB / 0.5577 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0189/0.6098, allocations: 9.999 MB / 0.5675 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.6099, allocations: 40 kB / 0.5675 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.494e-05/0.6099, allocations: 28.55 kB / 0.5676 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.005e-05/0.61, allocations: 19.92 kB / 0.5676 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/0.6343, allocations: 11.89 MB / 0.5792 GB, free: 8.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.6343, allocations: 4 kB / 0.5792 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.6359, allocations: 415.4 kB / 0.5796 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01863/0.6545, allocations: 7.431 MB / 0.5868 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009264/0.6554, allocations: 69.62 kB / 0.5869 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02314/0.6786, allocations: 12.54 MB / 0.5991 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6786, allocations: 4 kB / 0.5992 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/0.7006, allocations: 10.85 MB / 0.6097 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.7019, allocations: 436 kB / 0.6102 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/0.703, allocations: 73.03 kB / 0.6102 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/0.7054, allocations: 283.7 kB / 0.6105 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/0.7075, allocations: 0.7723 MB / 0.6113 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/0.7078, allocations: 71.97 kB / 0.6113 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001516/0.7093, allocations: 1.482 MB / 0.6128 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.7093, allocations: 0 / 0.6128 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004779/0.7141, allocations: 1.826 MB / 0.6146 GB, free: 4.121 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.0005094/0.7146, allocations: 180 kB / 0.6147 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.7247, allocations: 5.424 MB / 0.62 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-05/0.7247, allocations: 45.81 kB / 0.6201 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007768/0.7325, allocations: 3.984 MB / 0.624 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.7348, allocations: 460 kB / 0.6244 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.7464, allocations: 7.385 MB / 0.6316 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.7475, allocations: 0.8105 MB / 0.6324 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00133/0.7488, allocations: 371.2 kB / 0.6328 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/0.7498, allocations: 491.3 kB / 0.6332 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of SimCode: time 2.424e-06/0.7498, allocations: 0 / 0.6332 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of Templates: time 0.2792/1.029, allocations: 101.9 MB / 0.7327 GB, free: 94.89 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.115662780124694]