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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 106.9 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 239.6 MB, free: 4.727 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 196.5 kB / 289.9 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4346/0.4346, allocations: 78.53 MB / 418.6 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 79.88 kB / 497.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 68.17 MB / 0.5525 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2185/0.3433, allocations: 6.806 MB / 0.5591 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.347, allocations: 1.982 MB / 0.5611 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.3479, allocations: 11.31 kB / 0.5611 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.3487, allocations: 184.7 kB / 0.5613 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.3505, allocations: 0.7006 MB / 0.562 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3516, allocations: 0.5882 MB / 0.5625 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.353, allocations: 1.564 MB / 0.5641 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.3535, allocations: 322.8 kB / 0.5644 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.3542, allocations: 0.6559 MB / 0.565 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.3549, allocations: 0.8272 MB / 0.5658 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.355, allocations: 120.5 kB / 0.5659 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.3555, allocations: 261.6 kB / 0.5662 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.3557, allocations: 336.8 kB / 0.5665 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.3562, allocations: 0.6682 MB / 0.5672 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3572, allocations: 1.282 MB / 0.5684 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3572, allocations: 0.6875 kB / 0.5684 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3572, allocations: 0 / 0.5684 GB, free: 34.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.3572, allocations: 0.5625 kB / 0.5684 GB, free: 34.14 MB / 430.1 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.007993/0.3652, allocations: 2.691 MB / 0.571 GB, free: 33.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3653, allocations: 9.656 kB / 0.571 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.37, allocations: 0.7785 MB / 0.5718 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.3714, allocations: 0.8862 MB / 0.5727 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.3716, allocations: 258.2 kB / 0.5729 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.3718, allocations: 82.69 kB / 0.573 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3736, allocations: 1.081 MB / 0.574 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3737, allocations: 3 kB / 0.5741 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.3738, allocations: 29.41 kB / 0.5741 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3738, allocations: 21.78 kB / 0.5741 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.3756, allocations: 0.9869 MB / 0.5751 GB, free: 32.37 MB / 430.1 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.005719/0.3813, allocations: 3.816 MB / 0.5788 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006619/0.3879, allocations: 2.374 MB / 0.5811 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3893, allocations: 0.6739 MB / 0.5818 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3894, allocations: 18.3 kB / 0.5818 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.3909, allocations: 0.823 MB / 0.5826 GB, free: 29.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.867e-06/0.3909, allocations: 2.469 kB / 0.5826 GB, free: 29.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02807/0.419, allocations: 7.179 MB / 0.5896 GB, free: 27.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.4191, allocations: 118.4 kB / 0.5897 GB, free: 27.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.4208, allocations: 1.09 MB / 0.5908 GB, free: 27.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.4211, allocations: 48.67 kB / 0.5908 GB, free: 27.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.4214, allocations: 498 kB / 0.5913 GB, free: 26.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.4217, allocations: 348.6 kB / 0.5916 GB, free: 26.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.4222, allocations: 287 kB / 0.5919 GB, free: 26.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.4223, allocations: 303.1 kB / 0.5922 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.4238, allocations: 0.7551 MB / 0.5929 GB, free: 25.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4254, allocations: 0.9281 MB / 0.5938 GB, free: 25.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02265/0.4481, allocations: 5.571 MB / 0.5993 GB, free: 23.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.4481, allocations: 0.5625 kB / 0.5993 GB, free: 23.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01343/0.4616, allocations: 4.354 MB / 0.6035 GB, free: 22.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.4617, allocations: 67.45 kB / 0.6036 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4617, allocations: 6.562 kB / 0.6036 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005623/0.4673, allocations: 1.582 MB / 0.6051 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.4687, allocations: 286.3 kB / 0.6054 GB, free: 22.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/0.4862, allocations: 8.515 MB / 0.6137 GB, free: 16.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4882, allocations: 206.7 kB / 0.6139 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4883, allocations: 59.91 kB / 0.614 GB, free: 16.06 MB / 430.1 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 (160): * Single equations (assignments): 157 * 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.000551/0.4888, allocations: 298.5 kB / 0.6143 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.489, allocations: 118.5 kB / 0.6144 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.5003, allocations: 3.874 MB / 0.6182 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.5004, allocations: 12 kB / 0.6182 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.5004, allocations: 4.812 kB / 0.6182 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.5004, allocations: 3.984 kB / 0.6182 GB, free: 11.72 MB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.01261/0.513, allocations: 5.454 MB / 0.6235 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.5131, allocations: 1.594 kB / 0.6235 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.5136, allocations: 95.89 kB / 0.6236 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00483/0.5185, allocations: 1.603 MB / 0.6252 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.5186, allocations: 24.92 kB / 0.6252 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.5367, allocations: 9.644 MB / 0.6346 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.5368, allocations: 11.92 kB / 0.6346 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/0.5507, allocations: 4.721 MB / 0.6392 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/0.5513, allocations: 223.3 kB / 0.6395 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.5517, allocations: 24.94 kB / 0.6395 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.5531, allocations: 103.9 kB / 0.6396 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007022/0.5538, allocations: 196.7 kB / 0.6398 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.5539, allocations: 27.98 kB / 0.6398 GB, free: 5.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.5554, allocations: 0.7315 MB / 0.6405 GB, free: 4.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5554, allocations: 0 / 0.6405 GB, free: 4.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001993/0.5574, allocations: 475.5 kB / 0.641 GB, free: 3.934 MB / 446.1 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.0004394/0.5579, allocations: 139.3 kB / 0.6411 GB, free: 3.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007035/0.5649, allocations: 2.554 MB / 0.6436 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5649, allocations: 0 / 0.6436 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.5691, allocations: 1.591 MB / 0.6451 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.5706, allocations: 122.4 kB / 0.6453 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.5761, allocations: 2.683 MB / 0.6479 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.5771, allocations: 1.124 MB / 0.649 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.5776, allocations: 83.42 kB / 0.6491 GB, free: 11.54 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5776, allocations: 6 kB / 0.6491 GB, free: 11.54 MB / 462.1 MB Notification: Performance of Templates: time 0.02954/0.6071, allocations: 23.38 MB / 0.6719 GB, free: 4.348 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)