Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001413/0.001413, allocations: 80.88 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 0.9924/0.9924, allocations: 177.2 MB / 200.3 MB, free: 5.695 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.001302/0.001302, allocations: 160.6 kB / 257 MB, free: 12.98 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.4457/0.4457, allocations: 80.24 MB / 340.5 MB, free: 9.633 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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 383.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.349e-05, allocations: 2.312 kB / 383.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009059/0.009082, allocations: 12.66 MB / 396.5 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008356/0.01744, allocations: 3.714 MB / 400.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.01989, allocations: 27.94 kB / 400.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.02162, allocations: 0.5925 MB / 400.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005052/0.02667, allocations: 1.652 MB / 402.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.02989, allocations: 1.548 MB / 404 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004965/0.03485, allocations: 3.83 MB / 407.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.036, allocations: 0.6206 MB / 408.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.03964, allocations: 2.193 MB / 410.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.04168, allocations: 1.628 MB / 412.3 MB, free: 1.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007881/0.04247, allocations: 296 kB / 412.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.04347, allocations: 451.8 kB / 413 MB, free: 1.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.04406, allocations: 0.805 MB / 413.8 MB, free: 440 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.04529, allocations: 1.102 MB / 415 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.04868, allocations: 2.945 MB / 417.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.04869, allocations: 0 / 417.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04869, allocations: 4 kB / 417.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.3e-05/0.04876, allocations: 0 / 417.9 MB, free: 12.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01172/0.06048, allocations: 6.722 MB / 424.6 MB, free: 5.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.06052, allocations: 8.031 kB / 424.6 MB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/0.06909, allocations: 2.918 MB / 427.5 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.07208, allocations: 1.217 MB / 428.8 MB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/0.0726, allocations: 0.8235 MB / 429.6 MB, free: 404 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/0.07296, allocations: 223.9 kB / 429.8 MB, free: 180 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.07529, allocations: 1.838 MB / 431.6 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.07532, allocations: 3.984 kB / 431.6 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.07548, allocations: 87.98 kB / 431.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.07551, allocations: 56 kB / 431.8 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.07691, allocations: 0.8882 MB / 432.7 MB, free: 13.16 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.00879/0.0857, allocations: 4.99 MB / 437.7 MB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.08882, allocations: 1.85 MB / 439.5 MB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.08959, allocations: 0.6238 MB / 440.1 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.08978, allocations: 49.97 kB / 440.2 MB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.09099, allocations: 1.192 MB / 441.4 MB, free: 4.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 4.789e-06/0.09099, allocations: 3.938 kB / 441.4 MB, free: 4.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.2402/0.3312, allocations: 20.58 MB / 462 MB, free: 59.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3313, allocations: 184.7 kB / 462.1 MB, free: 59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.3328, allocations: 1.85 MB / 464 MB, free: 57.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004016/0.3332, allocations: 73.39 kB / 464.1 MB, free: 57.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.3336, allocations: 0.8095 MB / 464.9 MB, free: 57.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/0.3342, allocations: 0.9264 MB / 465.8 MB, free: 56.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006391/0.3349, allocations: 0.5681 MB / 466.4 MB, free: 56.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.3349, allocations: 301.1 kB / 466.7 MB, free: 55.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.336, allocations: 0.8353 MB / 467.5 MB, free: 55.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3372, allocations: 1.199 MB / 468.7 MB, free: 54.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.3406, allocations: 3.444 MB / 472.1 MB, free: 50.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.3406, allocations: 0 / 472.1 MB, free: 50.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01344/0.3541, allocations: 7.709 MB / 479.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.3542, allocations: 121.7 kB / 480 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.3542, allocations: 4 kB / 480 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/0.3662, allocations: 5.156 MB / 485.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.3679, allocations: 0.5609 MB / 485.7 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/0.3821, allocations: 8.081 MB / 493.8 MB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.3844, allocations: 414 kB / 494.2 MB, free: 29.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.3846, allocations: 91.95 kB / 494.3 MB, free: 29.64 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 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 Syn2.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 (330): * Single equations (assignments): 325 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0007112/0.3853, allocations: 332.6 kB / 494.6 MB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.3857, allocations: 267.7 kB / 494.9 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.3978, allocations: 7.033 MB / 0.4901 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.3979, allocations: 28 kB / 0.4902 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/0.3979, allocations: 18.12 kB / 0.4902 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-05/0.3979, allocations: 11.95 kB / 0.4902 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.413, allocations: 8.461 MB / 0.4984 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.413, allocations: 4 kB / 0.4984 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.4138, allocations: 239.7 kB / 0.4987 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0116/0.4254, allocations: 5.169 MB / 0.5037 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/0.4258, allocations: 47.98 kB / 0.5038 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/0.4397, allocations: 10.48 MB / 0.514 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4397, allocations: 2.938 kB / 0.514 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.4541, allocations: 7.717 MB / 0.5215 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.4549, allocations: 301.3 kB / 0.5218 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.4552, allocations: 48 kB / 0.5219 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.4564, allocations: 215.8 kB / 0.5221 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/0.4576, allocations: 0.5683 MB / 0.5226 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.4577, allocations: 47.97 kB / 0.5227 GB, free: 4.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008409/0.4586, allocations: 0.9972 MB / 0.5237 GB, free: 3.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4586, allocations: 1.203 kB / 0.5237 GB, free: 3.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002342/0.4609, allocations: 1.194 MB / 0.5248 GB, free: 1.844 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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 {(66,22,7.7%)} * 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.000343/0.4613, allocations: 152.7 kB / 0.525 GB, free: 1.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006372/0.4676, allocations: 4.028 MB / 0.5289 GB, free: 13.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.677e-05/0.4677, allocations: 24 kB / 0.5289 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00447/0.4721, allocations: 2.878 MB / 0.5317 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4733, allocations: 320.7 kB / 0.532 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.48, allocations: 4.912 MB / 0.5368 GB, free: 5.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4805, allocations: 0.5482 MB / 0.5374 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006229/0.4811, allocations: 250.6 kB / 0.5376 GB, free: 4.453 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/0.4817, allocations: 359.3 kB / 0.538 GB, free: 4.102 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4817, allocations: 0 / 0.538 GB, free: 4.102 MB / 442.7 MB Notification: Performance of Templates: time 0.07679/0.5585, allocations: 72.46 MB / 0.6087 GB, free: 12.15 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.930690692272037]