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.09319/0.09319, allocations: 12.2 MB / 28.08 MB, free: 1.344 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.001244/0.001244, allocations: 121.2 kB / 31.6 MB, free: 4.57 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.566/1.566, allocations: 205.1 MB / 240.1 MB, free: 10.84 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.001624/0.001624, allocations: 192.5 kB / 290.2 MB, free: 13.8 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5703/0.5703, allocations: 78.49 MB / 418.8 MB, free: 11.89 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.002638/0.002639, allocations: 135.8 kB / 499.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3317, allocations: 68.03 MB / 0.5538 GB, free: 22.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.005744/0.3375, allocations: 6.865 MB / 0.5605 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.3414, allocations: 1.951 MB / 0.5624 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009017/0.3423, allocations: 12 kB / 0.5624 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.3431, allocations: 190.8 kB / 0.5626 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.3448, allocations: 0.6919 MB / 0.5633 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.3458, allocations: 0.5846 MB / 0.5639 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3471, allocations: 1.561 MB / 0.5654 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.3476, allocations: 334.4 kB / 0.5657 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.3483, allocations: 0.6613 MB / 0.5664 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.3489, allocations: 0.8206 MB / 0.5672 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.3491, allocations: 124 kB / 0.5673 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.3495, allocations: 259.9 kB / 0.5675 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.3498, allocations: 326.6 kB / 0.5678 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.3502, allocations: 0.6758 MB / 0.5685 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.3512, allocations: 1.278 MB / 0.5697 GB, free: 5.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3512, allocations: 0 / 0.5697 GB, free: 5.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3512, allocations: 0 / 0.5697 GB, free: 5.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.3513, allocations: 3.938 kB / 0.5697 GB, free: 5.82 MB / 382.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.007875/0.3591, allocations: 2.684 MB / 0.5724 GB, free: 3.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3592, allocations: 11.98 kB / 0.5724 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.3637, allocations: 0.7865 MB / 0.5731 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.365, allocations: 0.8824 MB / 0.574 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.3653, allocations: 264.2 kB / 0.5743 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.3654, allocations: 80 kB / 0.5743 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.3673, allocations: 1.086 MB / 0.5754 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3673, allocations: 0 / 0.5754 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.3674, allocations: 35.98 kB / 0.5754 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3674, allocations: 16 kB / 0.5754 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3694, allocations: 0.9838 MB / 0.5764 GB, free: 14.82 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.006668/0.3761, allocations: 3.82 MB / 0.5801 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/0.3833, allocations: 2.371 MB / 0.5825 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3847, allocations: 0.6731 MB / 0.5831 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.3848, allocations: 17 kB / 0.5831 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/0.3863, allocations: 0.8138 MB / 0.5839 GB, free: 6.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 2.715e-06/0.3864, allocations: 0 / 0.5839 GB, free: 6.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=95): time 0.0279/0.4143, allocations: 7.194 MB / 0.5909 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.4144, allocations: 115.8 kB / 0.5911 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.416, allocations: 1.091 MB / 0.5921 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.4162, allocations: 41.7 kB / 0.5922 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.4166, allocations: 0.489 MB / 0.5926 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4169, allocations: 351.1 kB / 0.593 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.4174, allocations: 283.4 kB / 0.5932 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.4175, allocations: 305.1 kB / 0.5935 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.419, allocations: 0.7574 MB / 0.5943 GB, free: 12.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.4206, allocations: 0.9226 MB / 0.5952 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02201/0.4426, allocations: 5.565 MB / 0.6006 GB, free: 5.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.4427, allocations: 4 kB / 0.6006 GB, free: 5.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01304/0.4557, allocations: 4.356 MB / 0.6049 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.4558, allocations: 69.36 kB / 0.6049 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.4559, allocations: 4 kB / 0.6049 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005526/0.4614, allocations: 1.595 MB / 0.6065 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.4629, allocations: 279.6 kB / 0.6068 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.4818, allocations: 8.517 MB / 0.6151 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.4839, allocations: 198.7 kB / 0.6153 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.484, allocations: 59.91 kB / 0.6153 GB, free: 6.219 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.0006226/0.4846, allocations: 300.3 kB / 0.6156 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.4849, allocations: 126.5 kB / 0.6157 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.497, allocations: 3.869 MB / 0.6195 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.497, allocations: 12 kB / 0.6195 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.497, allocations: 4 kB / 0.6195 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.4971, allocations: 7.984 kB / 0.6195 GB, free: 1.863 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.01416/0.5112, allocations: 5.446 MB / 0.6249 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5113, allocations: 0 / 0.6249 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.5118, allocations: 103.8 kB / 0.625 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.517, allocations: 1.607 MB / 0.6265 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.5171, allocations: 24 kB / 0.6265 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/0.5367, allocations: 9.642 MB / 0.636 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5367, allocations: 4 kB / 0.636 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.5506, allocations: 4.729 MB / 0.6406 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.5511, allocations: 215.3 kB / 0.6408 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.5513, allocations: 35.94 kB / 0.6408 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5525, allocations: 107.9 kB / 0.6409 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005825/0.553, allocations: 200.8 kB / 0.6411 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.5531, allocations: 24 kB / 0.6411 GB, free: 11.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.5542, allocations: 0.7315 MB / 0.6419 GB, free: 10.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5542, allocations: 0 / 0.6419 GB, free: 10.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001349/0.5555, allocations: 467.5 kB / 0.6423 GB, free: 10.08 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.0002906/0.5558, allocations: 146 kB / 0.6424 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006398/0.5622, allocations: 2.552 MB / 0.6449 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5623, allocations: 0 / 0.6449 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004151/0.5664, allocations: 1.592 MB / 0.6465 GB, free: 5.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/0.5674, allocations: 120.2 kB / 0.6466 GB, free: 5.594 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.5714, allocations: 2.675 MB / 0.6492 GB, free: 2.887 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.572, allocations: 1.124 MB / 0.6503 GB, free: 1.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.5723, allocations: 83.41 kB / 0.6504 GB, free: 1.652 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5723, allocations: 0 / 0.6504 GB, free: 1.652 MB / 462.1 MB Notification: Performance of Templates: time 0.02744/0.5998, allocations: 23.38 MB / 0.6732 GB, free: 10.27 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)