Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009738/0.0009738, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.9033/0.9033, allocations: 177.1 MB / 200.3 MB, free: 5.422 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.001095/0.001095, allocations: 159.4 kB / 256.9 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2859/0.2859, allocations: 83.3 MB / 396.7 MB, free: 15.02 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.5469 kB / 494.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.336e-05, allocations: 3.156 kB / 494.4 MB, free: 6.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004527/0.00454, allocations: 6.109 MB / 0.4887 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.007259, allocations: 1.96 MB / 0.4907 GB, free: 14.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.00759, allocations: 12 kB / 0.4907 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004719/0.008061, allocations: 239.6 kB / 0.4909 GB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.009197, allocations: 0.863 MB / 0.4917 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.009896, allocations: 0.6333 MB / 0.4924 GB, free: 12.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009909/0.01089, allocations: 1.58 MB / 0.4939 GB, free: 11.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.01114, allocations: 210.9 kB / 0.4941 GB, free: 11.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.01189, allocations: 0.9087 MB / 0.495 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.01265, allocations: 0.6782 MB / 0.4956 GB, free: 9.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.01287, allocations: 124 kB / 0.4958 GB, free: 9.316 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.01322, allocations: 268.5 kB / 0.496 GB, free: 9.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.0134, allocations: 342.5 kB / 0.4963 GB, free: 8.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.01371, allocations: 463.7 kB / 0.4968 GB, free: 8.266 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.01459, allocations: 1.226 MB / 0.498 GB, free: 7.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.0146, allocations: 0 / 0.498 GB, free: 7.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0146, allocations: 1.125 kB / 0.498 GB, free: 7.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.01461, allocations: 0 / 0.498 GB, free: 7.035 MB / 378.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.004037/0.01865, allocations: 2.926 MB / 0.5008 GB, free: 4.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.01868, allocations: 12.03 kB / 0.5009 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.02113, allocations: 0.9298 MB / 0.5018 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007394/0.02187, allocations: 0.7767 MB / 0.5025 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.02206, allocations: 330 kB / 0.5028 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.02216, allocations: 87.98 kB / 0.5029 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.02289, allocations: 0.6691 MB / 0.5036 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.0229, allocations: 2.406 kB / 0.5036 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.02296, allocations: 35.94 kB / 0.5036 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.02297, allocations: 20 kB / 0.5036 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.02346, allocations: 403.3 kB / 0.504 GB, free: 0.7227 MB / 378.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.002932/0.02639, allocations: 2.553 MB / 0.5065 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.02857, allocations: 1.19 MB / 0.5077 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.02885, allocations: 283.9 kB / 0.5079 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.895e-05/0.02892, allocations: 20.98 kB / 0.508 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.0294, allocations: 486.5 kB / 0.5084 GB, free: 12.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 2.164e-06/0.0294, allocations: 4 kB / 0.5084 GB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.01046/0.03986, allocations: 4.915 MB / 0.5132 GB, free: 7.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.03991, allocations: 119.8 kB / 0.5133 GB, free: 6.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.04069, allocations: 0.9441 MB / 0.5143 GB, free: 6.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.04075, allocations: 45.7 kB / 0.5143 GB, free: 5.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.04101, allocations: 0.5585 MB / 0.5149 GB, free: 5.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.04121, allocations: 368.8 kB / 0.5152 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.0415, allocations: 297 kB / 0.5155 GB, free: 4.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.04159, allocations: 484.6 kB / 0.516 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.04203, allocations: 395.2 kB / 0.5163 GB, free: 3.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.04258, allocations: 0.6025 MB / 0.5169 GB, free: 3.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.04407, allocations: 1.535 MB / 0.5184 GB, free: 1.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.04408, allocations: 0 / 0.5184 GB, free: 1.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004833/0.04891, allocations: 2.965 MB / 0.5213 GB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.04895, allocations: 63.39 kB / 0.5214 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.04896, allocations: 11.94 kB / 0.5214 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/0.05279, allocations: 1.606 MB / 0.523 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.0534, allocations: 275.6 kB / 0.5232 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005285/0.05868, allocations: 4.319 MB / 0.5274 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.0593, allocations: 163.2 kB / 0.5276 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/0.05936, allocations: 43.97 kB / 0.5276 GB, free: 7.965 MB / 410.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.0004543/0.05982, allocations: 274.8 kB / 0.5279 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.05997, allocations: 155.2 kB / 0.528 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.06407, allocations: 2.451 MB / 0.5304 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.06408, allocations: 15.94 kB / 0.5304 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.06408, allocations: 8 kB / 0.5305 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.06409, allocations: 3.984 kB / 0.5305 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.06907, allocations: 3.377 MB / 0.5338 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.06908, allocations: 0 / 0.5338 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.06934, allocations: 103.8 kB / 0.5339 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/0.07384, allocations: 1.628 MB / 0.5354 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.0739, allocations: 27.88 kB / 0.5355 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/0.0798, allocations: 6.221 MB / 0.5415 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0798, allocations: 0 / 0.5415 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00466/0.08446, allocations: 2.831 MB / 0.5443 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.08462, allocations: 146.9 kB / 0.5445 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.08471, allocations: 23.98 kB / 0.5445 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.08511, allocations: 71.94 kB / 0.5445 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.08539, allocations: 196.6 kB / 0.5447 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.08543, allocations: 23.92 kB / 0.5448 GB, free: 6.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003606/0.08579, allocations: 0.5664 MB / 0.5453 GB, free: 5.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08579, allocations: 0 / 0.5453 GB, free: 5.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009189/0.08671, allocations: 467.6 kB / 0.5458 GB, free: 4.98 MB / 426.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.0002304/0.08694, allocations: 145.7 kB / 0.5459 GB, free: 4.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.08913, allocations: 1.731 MB / 0.5476 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.08913, allocations: 4 kB / 0.5476 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.09071, allocations: 1.261 MB / 0.5488 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.09127, allocations: 136.5 kB / 0.5489 GB, free: 1.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.09396, allocations: 2.008 MB / 0.5509 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.09416, allocations: 241.5 kB / 0.5511 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.09449, allocations: 107.9 kB / 0.5512 GB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.09479, allocations: 206.2 kB / 0.5514 GB, free: 14.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.09479, allocations: 4 kB / 0.5514 GB, free: 14.94 MB / 442.7 MB Notification: Performance of Templates: time 0.1962/0.291, allocations: 28 MB / 0.5788 GB, free: 82.98 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.985453821718693]