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.0009026/0.0009026, allocations: 82.02 kB / 19.87 MB, free: 4.621 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 0.9221/0.9221, allocations: 177.1 MB / 200.3 MB, free: 5.727 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.001267/0.001267, allocations: 156.7 kB / 256.9 MB, free: 13 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.2787/0.2787, allocations: 80.24 MB / 393.7 MB, free: 3.051 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.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 2.655e-06/2.655e-06, allocations: 0 / 490.4 MB, free: 62.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.857e-05, allocations: 5.375 kB / 490.4 MB, free: 62.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.0139/0.01392, allocations: 20.07 MB / 0.4985 GB, free: 42.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.02662, allocations: 4.93 MB / 0.5033 GB, free: 37.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004791/0.03141, allocations: 44 kB / 0.5033 GB, free: 37.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.03367, allocations: 0.8866 MB / 0.5042 GB, free: 36.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.03927, allocations: 2.409 MB / 0.5065 GB, free: 34.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.04304, allocations: 2.056 MB / 0.5086 GB, free: 32.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005141/0.04819, allocations: 5.95 MB / 0.5144 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.04927, allocations: 0.8767 MB / 0.5152 GB, free: 25.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.05234, allocations: 3.389 MB / 0.5185 GB, free: 22.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.05406, allocations: 2.332 MB / 0.5208 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.0547, allocations: 449.2 kB / 0.5212 GB, free: 19.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.0555, allocations: 0.6013 MB / 0.5218 GB, free: 18.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.05594, allocations: 1.198 MB / 0.523 GB, free: 17.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.05697, allocations: 1.745 MB / 0.5247 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.05949, allocations: 4.54 MB / 0.5291 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.05949, allocations: 8.906 kB / 0.5291 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05949, allocations: 0 / 0.5291 GB, free: 11.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.05952, allocations: 0.5312 kB / 0.5291 GB, free: 11.16 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.01256/0.07209, allocations: 10.34 MB / 0.5392 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.07212, allocations: 12.03 kB / 0.5392 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.08456, allocations: 4.796 MB / 0.5439 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.08712, allocations: 2.523 MB / 0.5464 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005031/0.08763, allocations: 1.013 MB / 0.5474 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.08802, allocations: 352 kB / 0.5477 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.09107, allocations: 2.823 MB / 0.5505 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.09111, allocations: 0 / 0.5505 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.09136, allocations: 140 kB / 0.5506 GB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.0914, allocations: 91.75 kB / 0.5507 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.0935, allocations: 1.595 MB / 0.5523 GB, free: 3.094 MB / 426.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.01399/0.1075, allocations: 11.79 MB / 0.5638 GB, free: 6.879 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004093/0.1116, allocations: 2.324 MB / 0.566 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.113, allocations: 0.982 MB / 0.567 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/0.1134, allocations: 98.95 kB / 0.5671 GB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/0.1156, allocations: 1.648 MB / 0.5687 GB, free: 1.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=385): time 6.342e-06/0.1156, allocations: 0 / 0.5687 GB, free: 1.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=385): time 0.3444/0.4599, allocations: 54.16 MB / 0.6216 GB, free: 132.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.46, allocations: 143.9 kB / 0.6217 GB, free: 132.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.4631, allocations: 2.909 MB / 0.6246 GB, free: 132.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008107/0.4639, allocations: 89.52 kB / 0.6247 GB, free: 132.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.4651, allocations: 2.149 MB / 0.6268 GB, free: 132.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.4665, allocations: 1.398 MB / 0.6281 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000925/0.4675, allocations: 0.7216 MB / 0.6288 GB, free: 131.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.4675, allocations: 480.6 kB / 0.6293 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.4693, allocations: 1.024 MB / 0.6303 GB, free: 131 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.4714, allocations: 1.882 MB / 0.6321 GB, free: 130.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/0.4763, allocations: 4.555 MB / 0.6366 GB, free: 129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/0.4763, allocations: 3.688 kB / 0.6366 GB, free: 129 MB / 490.7 MB Notification: Performance of matching and sorting (n=541) (initialization): time 0.02031/0.4966, allocations: 11.4 MB / 0.6477 GB, free: 121.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.4967, allocations: 71.39 kB / 0.6478 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/0.4967, allocations: 16 kB / 0.6478 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/0.5157, allocations: 7.534 MB / 0.6551 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5177, allocations: 0.6709 MB / 0.6558 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/0.5422, allocations: 13.51 MB / 0.669 GB, free: 99.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/0.5459, allocations: 0.5347 MB / 0.6695 GB, free: 99.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004108/0.5464, allocations: 120 kB / 0.6696 GB, free: 99.05 MB / 490.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.001088/0.5474, allocations: 412.2 kB / 0.67 GB, free: 98.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/0.5485, allocations: 0.5868 MB / 0.6706 GB, free: 98.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/0.5665, allocations: 10.68 MB / 0.681 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5666, allocations: 40 kB / 0.6811 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/0.5666, allocations: 28 kB / 0.6811 GB, free: 87.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-05/0.5667, allocations: 23.92 kB / 0.6811 GB, free: 87.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/0.5897, allocations: 13.37 MB / 0.6942 GB, free: 73.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/0.5897, allocations: 0 / 0.6942 GB, free: 73.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.5912, allocations: 395.5 kB / 0.6946 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01879/0.61, allocations: 7.52 MB / 0.7019 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008132/0.6108, allocations: 75.98 kB / 0.702 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/0.6335, allocations: 14.58 MB / 0.7162 GB, free: 51.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6335, allocations: 4 kB / 0.7162 GB, free: 51.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/0.6556, allocations: 11.68 MB / 0.7276 GB, free: 39.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.657, allocations: 0.5102 MB / 0.7281 GB, free: 38.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009944/0.658, allocations: 64 kB / 0.7282 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.66, allocations: 291.7 kB / 0.7285 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001663/0.6617, allocations: 0.7762 MB / 0.7292 GB, free: 37.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.6619, allocations: 67.98 kB / 0.7293 GB, free: 37.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.6631, allocations: 1.633 MB / 0.7309 GB, free: 35.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6631, allocations: 0 / 0.7309 GB, free: 35.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004478/0.6675, allocations: 1.823 MB / 0.7327 GB, free: 34.17 MB / 490.7 MB 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.0004941/0.668, allocations: 199.5 kB / 0.7328 GB, free: 33.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009753/0.6778, allocations: 5.804 MB / 0.7385 GB, free: 28.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6778, allocations: 2 kB / 0.7385 GB, free: 28.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007719/0.6855, allocations: 4.321 MB / 0.7427 GB, free: 23.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.6881, allocations: 460.3 kB / 0.7432 GB, free: 23.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.6993, allocations: 7.453 MB / 0.7504 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.7, allocations: 0.8066 MB / 0.7512 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00125/0.7012, allocations: 375.1 kB / 0.7516 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/0.7021, allocations: 0.5021 MB / 0.7521 GB, free: 14.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.624e-06/0.7021, allocations: 4 kB / 0.7521 GB, free: 14.03 MB / 490.7 MB Notification: Performance of Templates: time 0.298/1, allocations: 107.4 MB / 0.8569 GB, free: 142.9 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.26933585293591]