Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0875/0.0875, allocations: 12.2 MB / 27.32 MB, free: 1.41 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 104.8 kB / 30.82 MB, free: 4.703 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 239.3 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 188.5 kB / 289.5 MB, free: 14.22 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.431/0.431, allocations: 78.51 MB / 418 MB, free: 12.02 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002282, allocations: 127.8 kB / 498.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3308, allocations: 68.02 MB / 0.553 GB, free: 32.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007412/0.3382, allocations: 6.856 MB / 0.5597 GB, free: 27.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004558/0.3428, allocations: 1.972 MB / 0.5616 GB, free: 26.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006142/0.3435, allocations: 11 kB / 0.5616 GB, free: 26.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.3443, allocations: 186.4 kB / 0.5618 GB, free: 26.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.346, allocations: 0.7083 MB / 0.5625 GB, free: 25.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3473, allocations: 0.5861 MB / 0.563 GB, free: 25.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.3488, allocations: 1.497 MB / 0.5645 GB, free: 24.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.3492, allocations: 283.8 kB / 0.5648 GB, free: 24.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.3499, allocations: 0.5931 MB / 0.5654 GB, free: 23.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006843/0.3506, allocations: 0.7838 MB / 0.5661 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.3508, allocations: 72.62 kB / 0.5662 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.3513, allocations: 199 kB / 0.5664 GB, free: 23.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.3515, allocations: 277.1 kB / 0.5666 GB, free: 23.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.352, allocations: 0.6212 MB / 0.5673 GB, free: 22.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3532, allocations: 1.593 MB / 0.5688 GB, free: 21.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3532, allocations: 0 / 0.5688 GB, free: 21.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3532, allocations: 3.938 kB / 0.5688 GB, free: 21.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.3532, allocations: 4 kB / 0.5688 GB, free: 21.44 MB / 398.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.008771/0.362, allocations: 2.691 MB / 0.5714 GB, free: 19.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.362, allocations: 12.83 kB / 0.5715 GB, free: 19.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.367, allocations: 0.7762 MB / 0.5722 GB, free: 19.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.3686, allocations: 0.8824 MB / 0.5731 GB, free: 18.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.369, allocations: 264 kB / 0.5733 GB, free: 18.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.3691, allocations: 85.72 kB / 0.5734 GB, free: 18.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.3715, allocations: 1.087 MB / 0.5745 GB, free: 17.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3716, allocations: 3.984 kB / 0.5745 GB, free: 17.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3717, allocations: 34.33 kB / 0.5745 GB, free: 17.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.3717, allocations: 18.09 kB / 0.5745 GB, free: 17.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.3738, allocations: 0.9863 MB / 0.5755 GB, free: 17.1 MB / 398.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.005508/0.3793, allocations: 3.82 MB / 0.5792 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/0.386, allocations: 2.36 MB / 0.5815 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.3871, allocations: 0.68 MB / 0.5822 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.3872, allocations: 12.98 kB / 0.5822 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.3885, allocations: 0.8138 MB / 0.583 GB, free: 9.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 3.025e-06/0.3885, allocations: 0 / 0.583 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=95): time 0.02597/0.4145, allocations: 7.186 MB / 0.59 GB, free: 1.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4146, allocations: 127.8 kB / 0.5901 GB, free: 1.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.4161, allocations: 1.087 MB / 0.5912 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.4163, allocations: 49.7 kB / 0.5912 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.4166, allocations: 488.8 kB / 0.5917 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.417, allocations: 351.2 kB / 0.592 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.4175, allocations: 283.4 kB / 0.5923 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.4176, allocations: 301.1 kB / 0.5926 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4191, allocations: 0.7613 MB / 0.5933 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.4206, allocations: 0.9264 MB / 0.5942 GB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/0.4429, allocations: 5.557 MB / 0.5997 GB, free: 7.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.4429, allocations: 0 / 0.5997 GB, free: 7.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01284/0.4558, allocations: 4.356 MB / 0.6039 GB, free: 3.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.4559, allocations: 71.33 kB / 0.604 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4559, allocations: 0 / 0.604 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005467/0.4614, allocations: 1.587 MB / 0.6055 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.4628, allocations: 279.6 kB / 0.6058 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.4804, allocations: 7.839 MB / 0.6135 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.4825, allocations: 206.7 kB / 0.6137 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.4827, allocations: 51.98 kB / 0.6137 GB, free: 9.211 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.0007461/0.4835, allocations: 311.6 kB / 0.614 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.4838, allocations: 126.4 kB / 0.6141 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.4966, allocations: 3.873 MB / 0.6179 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.4966, allocations: 8 kB / 0.6179 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/0.4967, allocations: 8 kB / 0.6179 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.4967, allocations: 7.969 kB / 0.6179 GB, free: 4.844 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.01496/0.5117, allocations: 5.45 MB / 0.6233 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.5117, allocations: 0 / 0.6233 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.5123, allocations: 99.83 kB / 0.6234 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00548/0.5178, allocations: 1.607 MB / 0.6249 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.518, allocations: 20 kB / 0.6249 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/0.5367, allocations: 8.796 MB / 0.6335 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5367, allocations: 0 / 0.6335 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.551, allocations: 4.737 MB / 0.6382 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/0.5517, allocations: 223.3 kB / 0.6384 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.5521, allocations: 20 kB / 0.6384 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.5536, allocations: 107.9 kB / 0.6385 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007058/0.5543, allocations: 188.6 kB / 0.6387 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.5544, allocations: 31.98 kB / 0.6387 GB, free: 15.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.5559, allocations: 0.7276 MB / 0.6394 GB, free: 14.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5559, allocations: 0 / 0.6394 GB, free: 14.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001957/0.5579, allocations: 479.5 kB / 0.6399 GB, free: 13.93 MB / 462.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.0003687/0.5582, allocations: 133.6 kB / 0.64 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006552/0.5648, allocations: 2.52 MB / 0.6425 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5648, allocations: 0 / 0.6425 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004352/0.5692, allocations: 1.588 MB / 0.644 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.5707, allocations: 113.1 kB / 0.6441 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.5755, allocations: 2.643 MB / 0.6467 GB, free: 6.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008671/0.5763, allocations: 1.12 MB / 0.6478 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.5769, allocations: 116.1 kB / 0.6479 GB, free: 5.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.5772, allocations: 75.41 kB / 0.648 GB, free: 5.484 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5772, allocations: 4 kB / 0.648 GB, free: 5.48 MB / 462.1 MB Notification: Performance of Templates: time 0.03529/0.6125, allocations: 21.57 MB / 0.669 GB, free: 15.93 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)