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.001831/0.001831, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.623/1.623, allocations: 177.1 MB / 199.7 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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.002153/0.002153, allocations: 160.6 kB / 256.3 MB, free: 13.15 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.5469/0.5469, allocations: 80.37 MB / 393.1 MB, free: 2.141 MB / 314.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.793e-06/1.793e-06, allocations: 0 / 489.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/3.997e-05, allocations: 2.312 kB / 489.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.009582/0.009622, allocations: 6.208 MB / 495.4 MB, free: 5.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.0153, allocations: 1.952 MB / 497.4 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.01652, allocations: 8 kB / 497.4 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.01765, allocations: 243.9 kB / 497.6 MB, free: 3.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.02138, allocations: 0.8682 MB / 498.5 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.02338, allocations: 0.6248 MB / 499.1 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.02622, allocations: 1.58 MB / 0.489 GB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006853/0.0269, allocations: 207.5 kB / 0.4892 GB, free: 140 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.0297, allocations: 0.9044 MB / 0.4901 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.03137, allocations: 0.6705 MB / 0.4907 GB, free: 14.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006698/0.03204, allocations: 124 kB / 0.4908 GB, free: 14.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.0331, allocations: 269 kB / 0.4911 GB, free: 14.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.03366, allocations: 342.5 kB / 0.4914 GB, free: 13.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009668/0.03463, allocations: 466.4 kB / 0.4919 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.03761, allocations: 1.738 MB / 0.4936 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.03762, allocations: 4 kB / 0.4936 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-06/0.03762, allocations: 3.984 kB / 0.4936 GB, free: 11.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.376e-05/0.03767, allocations: 0 / 0.4936 GB, free: 11.63 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.01062/0.04829, allocations: 3.043 MB / 0.4965 GB, free: 8.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.04834, allocations: 12.03 kB / 0.4966 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/0.05417, allocations: 0.9236 MB / 0.4975 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.05636, allocations: 0.849 MB / 0.4983 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004372/0.0568, allocations: 333.3 kB / 0.4986 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002821/0.05708, allocations: 88 kB / 0.4987 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.05984, allocations: 1.098 MB / 0.4998 GB, free: 5.152 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.05987, allocations: 3.938 kB / 0.4998 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.05999, allocations: 31.94 kB / 0.4998 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.06002, allocations: 20 kB / 0.4998 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.06251, allocations: 0.9465 MB / 0.5007 GB, free: 4.145 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.008286/0.07079, allocations: 3.123 MB / 0.5038 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/0.07744, allocations: 1.59 MB / 0.5053 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.07908, allocations: 0.6112 MB / 0.5059 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.07925, allocations: 32.97 kB / 0.506 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/0.08133, allocations: 0.8383 MB / 0.5068 GB, free: 13.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 4.248e-06/0.08133, allocations: 0 / 0.5068 GB, free: 13.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.02923/0.1106, allocations: 6.235 MB / 0.5129 GB, free: 7.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1107, allocations: 127.7 kB / 0.513 GB, free: 7.375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.1128, allocations: 1.242 MB / 0.5142 GB, free: 6.117 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.1131, allocations: 49.7 kB / 0.5143 GB, free: 6.062 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.1138, allocations: 0.5977 MB / 0.5148 GB, free: 5.461 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007252/0.1145, allocations: 392.9 kB / 0.5152 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/0.1153, allocations: 321.1 kB / 0.5155 GB, free: 4.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000263/0.1155, allocations: 484.7 kB / 0.516 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.1176, allocations: 0.7452 MB / 0.5167 GB, free: 3.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.12, allocations: 0.9814 MB / 0.5177 GB, free: 2.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/0.1262, allocations: 2.667 MB / 0.5203 GB, free: 15.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.1262, allocations: 0 / 0.5203 GB, free: 15.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01435/0.1405, allocations: 3.981 MB / 0.5242 GB, free: 11.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.29e-05/0.1406, allocations: 63.41 kB / 0.5242 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.1406, allocations: 4 kB / 0.5242 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.1518, allocations: 2.024 MB / 0.5262 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.1535, allocations: 263.7 kB / 0.5265 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.1763, allocations: 8.28 MB / 0.5345 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.1783, allocations: 159.2 kB / 0.5347 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.1787, allocations: 55.97 kB / 0.5347 GB, free: 0.7109 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.001002/0.1797, allocations: 345.7 kB / 0.5351 GB, free: 368 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/0.1803, allocations: 163.1 kB / 0.5352 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.1935, allocations: 3.435 MB / 0.5386 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.1935, allocations: 8 kB / 0.5386 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.1936, allocations: 12 kB / 0.5386 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.1936, allocations: 3.984 kB / 0.5386 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.2105, allocations: 4.706 MB / 0.5432 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.2105, allocations: 0 / 0.5432 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.2113, allocations: 103.8 kB / 0.5433 GB, free: 7.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/0.2221, allocations: 2.046 MB / 0.5453 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.2223, allocations: 24 kB / 0.5453 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02435/0.2467, allocations: 9.868 MB / 0.555 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2467, allocations: 7.875 kB / 0.555 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.2618, allocations: 4.366 MB / 0.5592 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.2624, allocations: 146.9 kB / 0.5594 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.2627, allocations: 16 kB / 0.5594 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.2639, allocations: 75.92 kB / 0.5595 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007389/0.2646, allocations: 208.7 kB / 0.5597 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.2648, allocations: 31.94 kB / 0.5597 GB, free: 6.727 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.2663, allocations: 0.7932 MB / 0.5605 GB, free: 5.926 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2663, allocations: 0 / 0.5605 GB, free: 5.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001997/0.2683, allocations: 467.6 kB / 0.5609 GB, free: 5.469 MB / 490.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.0004244/0.2688, allocations: 135.2 kB / 0.561 GB, free: 5.328 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007377/0.2761, allocations: 2.465 MB / 0.5634 GB, free: 2.789 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.2761, allocations: 0 / 0.5634 GB, free: 2.789 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004942/0.2811, allocations: 1.624 MB / 0.565 GB, free: 1.105 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.2823, allocations: 134.1 kB / 0.5652 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.2878, allocations: 2.199 MB / 0.5673 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.2885, allocations: 0.5275 MB / 0.5678 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005427/0.289, allocations: 119.9 kB / 0.5679 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.2893, allocations: 80.48 kB / 0.568 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.754e-06/0.2893, allocations: 0 / 0.568 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.05151/0.3408, allocations: 27.02 MB / 0.5944 GB, free: 3.062 MB / 0.5105 GB " [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: 7.041734061087482]