Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.0009687/0.0009687, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.8826/0.8826, allocations: 177.1 MB / 200.2 MB, free: 5.711 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.002355/0.002355, allocations: 152.7 kB / 256.9 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.2688/0.2688, allocations: 80.24 MB / 393.7 MB, free: 2 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 490.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.994e-05, allocations: 6.125 kB / 490.3 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007502/0.007532, allocations: 6.114 MB / 496.4 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005033/0.01257, allocations: 1.951 MB / 498.3 MB, free: 3.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.01362, allocations: 8.844 kB / 498.3 MB, free: 3.234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.01449, allocations: 238.6 kB / 498.6 MB, free: 3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.01707, allocations: 0.8723 MB / 499.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.01827, allocations: 0.6362 MB / 0.4883 GB, free: 1.504 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.01977, allocations: 1.572 MB / 0.4899 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.02015, allocations: 216.7 kB / 0.4901 GB, free: 15.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.02129, allocations: 0.9116 MB / 0.491 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.02196, allocations: 0.6698 MB / 0.4916 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.02215, allocations: 124 kB / 0.4918 GB, free: 14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.02259, allocations: 273.1 kB / 0.492 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.02279, allocations: 334.5 kB / 0.4923 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.02308, allocations: 454.5 kB / 0.4928 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.02423, allocations: 1.233 MB / 0.494 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.02423, allocations: 0.5312 kB / 0.494 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02424, allocations: 4.562 kB / 0.494 GB, free: 11.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.02426, allocations: 0 / 0.494 GB, free: 11.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004545/0.02881, allocations: 2.93 MB / 0.4968 GB, free: 8.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.02886, allocations: 8.031 kB / 0.4968 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.03147, allocations: 0.933 MB / 0.4978 GB, free: 7.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.0323, allocations: 0.7756 MB / 0.4985 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.03251, allocations: 333.3 kB / 0.4988 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.03262, allocations: 80 kB / 0.4989 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007739/0.03339, allocations: 0.6718 MB / 0.4996 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.03341, allocations: 4 kB / 0.4996 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/0.03346, allocations: 35.94 kB / 0.4996 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.03347, allocations: 16 kB / 0.4996 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.03402, allocations: 407.3 kB / 0.5 GB, free: 5.387 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.003072/0.03709, allocations: 2.545 MB / 0.5025 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.03929, allocations: 1.192 MB / 0.5037 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.03957, allocations: 283.9 kB / 0.5039 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.03964, allocations: 21 kB / 0.5039 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.0401, allocations: 486.5 kB / 0.5044 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 1.984e-06/0.0401, allocations: 0 / 0.5044 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.0108/0.0509, allocations: 4.907 MB / 0.5092 GB, free: 11.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.05095, allocations: 123.7 kB / 0.5093 GB, free: 11.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.05157, allocations: 0.9479 MB / 0.5102 GB, free: 10.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.05163, allocations: 45.7 kB / 0.5103 GB, free: 10.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.05191, allocations: 0.5508 MB / 0.5108 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.05212, allocations: 372.8 kB / 0.5112 GB, free: 9.703 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.05241, allocations: 301 kB / 0.5115 GB, free: 9.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.05251, allocations: 484.7 kB / 0.5119 GB, free: 8.926 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.05325, allocations: 395.2 kB / 0.5123 GB, free: 8.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.0538, allocations: 0.6025 MB / 0.5129 GB, free: 7.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.05531, allocations: 1.527 MB / 0.5144 GB, free: 6.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.05531, allocations: 0 / 0.5144 GB, free: 6.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004721/0.06003, allocations: 2.965 MB / 0.5173 GB, free: 3.242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.06007, allocations: 59.41 kB / 0.5173 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.06008, allocations: 4 kB / 0.5173 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/0.06402, allocations: 1.621 MB / 0.5189 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.06489, allocations: 271.6 kB / 0.5192 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/0.07027, allocations: 4.323 MB / 0.5234 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.07091, allocations: 167.2 kB / 0.5236 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.07098, allocations: 43.97 kB / 0.5236 GB, free: 12.62 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (155): * Single equations (assignments): 152 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.07129, allocations: 266.8 kB / 0.5239 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.07144, allocations: 155.2 kB / 0.524 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004493/0.07594, allocations: 2.459 MB / 0.5264 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.07595, allocations: 11.94 kB / 0.5264 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.07596, allocations: 8 kB / 0.5264 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.07596, allocations: 3.984 kB / 0.5264 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.08109, allocations: 3.385 MB / 0.5297 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.08109, allocations: 0 / 0.5297 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.08135, allocations: 99.83 kB / 0.5298 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/0.08511, allocations: 1.636 MB / 0.5314 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.08516, allocations: 19.94 kB / 0.5315 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006161/0.09132, allocations: 6.213 MB / 0.5375 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.09133, allocations: 7.984 kB / 0.5375 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/0.09637, allocations: 2.839 MB / 0.5403 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.09655, allocations: 142.9 kB / 0.5404 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.09665, allocations: 23.98 kB / 0.5405 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.09707, allocations: 67.94 kB / 0.5405 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.09738, allocations: 196.6 kB / 0.5407 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.09742, allocations: 27.98 kB / 0.5407 GB, free: 10.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004297/0.09785, allocations: 0.5625 MB / 0.5413 GB, free: 10.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.09785, allocations: 0 / 0.5413 GB, free: 10.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001142/0.09899, allocations: 467.6 kB / 0.5417 GB, free: 9.633 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/0.09926, allocations: 147 kB / 0.5419 GB, free: 9.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.1017, allocations: 1.719 MB / 0.5435 GB, free: 7.691 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1017, allocations: 3.938 kB / 0.5436 GB, free: 7.688 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.1033, allocations: 1.261 MB / 0.5448 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.1038, allocations: 141.3 kB / 0.5449 GB, free: 6.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.1063, allocations: 2.015 MB / 0.5469 GB, free: 4.172 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.1067, allocations: 245.5 kB / 0.5471 GB, free: 3.906 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.1069, allocations: 107.9 kB / 0.5472 GB, free: 3.797 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.1072, allocations: 206.2 kB / 0.5474 GB, free: 3.594 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1072, allocations: 0 / 0.5474 GB, free: 3.594 MB / 474.7 MB Notification: Performance of Templates: time 0.02777/0.135, allocations: 28.02 MB / 0.5748 GB, free: 7.762 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.649679762776941]