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.001141/0.001141, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.648 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.001341/0.001341, allocations: 192.5 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4679/0.4679, allocations: 78.52 MB / 418.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.89 kB / 498.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1368, allocations: 68.18 MB / 0.5531 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2502/0.3871, allocations: 6.501 MB / 0.5594 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.3908, allocations: 1.953 MB / 0.5613 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.3913, allocations: 15.06 kB / 0.5613 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.392, allocations: 231.6 kB / 0.5615 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.3936, allocations: 0.797 MB / 0.5623 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3948, allocations: 0.6236 MB / 0.5629 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.396, allocations: 1.568 MB / 0.5645 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.3964, allocations: 321.2 kB / 0.5648 GB, free: 35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005965/0.397, allocations: 0.6584 MB / 0.5654 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/0.3976, allocations: 0.8295 MB / 0.5662 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.3978, allocations: 122.5 kB / 0.5663 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.3982, allocations: 264.8 kB / 0.5666 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.3985, allocations: 322.7 kB / 0.5669 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.3989, allocations: 0.6723 MB / 0.5676 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.4001, allocations: 1.661 MB / 0.5692 GB, free: 33.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4001, allocations: 2.688 kB / 0.5692 GB, free: 33.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4001, allocations: 0 / 0.5692 GB, free: 33.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4001, allocations: 3.938 kB / 0.5692 GB, free: 33.88 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.007812/0.4079, allocations: 2.689 MB / 0.5718 GB, free: 32.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.408, allocations: 8.25 kB / 0.5718 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004623/0.4126, allocations: 0.7757 MB / 0.5726 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.4139, allocations: 0.889 MB / 0.5734 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.4141, allocations: 253.2 kB / 0.5737 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.4143, allocations: 91.95 kB / 0.5738 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.4161, allocations: 1.083 MB / 0.5748 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4161, allocations: 1.875 kB / 0.5748 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.4162, allocations: 30.5 kB / 0.5749 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4163, allocations: 18.38 kB / 0.5749 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.4179, allocations: 0.9918 MB / 0.5759 GB, free: 32.11 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.005436/0.4234, allocations: 3.789 MB / 0.5796 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006561/0.43, allocations: 2.373 MB / 0.5819 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4312, allocations: 0.6679 MB / 0.5825 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/0.4313, allocations: 22.69 kB / 0.5825 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.4327, allocations: 0.8102 MB / 0.5833 GB, free: 29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.787e-06/0.4327, allocations: 1.344 kB / 0.5833 GB, free: 29 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02799/0.4607, allocations: 7.191 MB / 0.5904 GB, free: 27.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4608, allocations: 120.4 kB / 0.5905 GB, free: 27.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.4626, allocations: 1.095 MB / 0.5915 GB, free: 27.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.4628, allocations: 42.2 kB / 0.5916 GB, free: 26.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.4631, allocations: 494.8 kB / 0.5921 GB, free: 26.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.4635, allocations: 351.2 kB / 0.5924 GB, free: 26.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005022/0.464, allocations: 283.7 kB / 0.5927 GB, free: 26.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.464, allocations: 303 kB / 0.5929 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.4655, allocations: 0.7554 MB / 0.5937 GB, free: 25.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4672, allocations: 0.9321 MB / 0.5946 GB, free: 25.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02303/0.4902, allocations: 5.553 MB / 0.6 GB, free: 23.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.4903, allocations: 1.188 kB / 0.6 GB, free: 23.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0133/0.5036, allocations: 4.361 MB / 0.6043 GB, free: 22.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.5037, allocations: 63.56 kB / 0.6043 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.5037, allocations: 3.188 kB / 0.6043 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/0.5094, allocations: 1.589 MB / 0.6059 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5109, allocations: 280 kB / 0.6062 GB, free: 21.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.5302, allocations: 8.499 MB / 0.6145 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.5326, allocations: 203.3 kB / 0.6147 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.5329, allocations: 55.92 kB / 0.6147 GB, free: 15.55 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.0008688/0.5338, allocations: 309.2 kB / 0.615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.5342, allocations: 126.4 kB / 0.6151 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.5454, allocations: 3.875 MB / 0.6189 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5454, allocations: 8 kB / 0.6189 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.5454, allocations: 9.406 kB / 0.6189 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.5455, allocations: 3.984 kB / 0.6189 GB, free: 11.19 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.01292/0.5584, allocations: 5.446 MB / 0.6242 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5585, allocations: 4 kB / 0.6243 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.559, allocations: 99.83 kB / 0.6243 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/0.5637, allocations: 1.599 MB / 0.6259 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.5639, allocations: 23.98 kB / 0.6259 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.5828, allocations: 9.632 MB / 0.6353 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5828, allocations: 0 / 0.6353 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.5965, allocations: 4.729 MB / 0.64 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.5971, allocations: 223.3 kB / 0.6402 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.5974, allocations: 23.94 kB / 0.6402 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5987, allocations: 107.9 kB / 0.6403 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005866/0.5993, allocations: 198.2 kB / 0.6405 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/0.5994, allocations: 24.88 kB / 0.6405 GB, free: 4.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.6007, allocations: 0.7354 MB / 0.6412 GB, free: 3.883 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6007, allocations: 0 / 0.6412 GB, free: 3.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001687/0.6024, allocations: 471.5 kB / 0.6417 GB, free: 3.422 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.0003282/0.6028, allocations: 136.5 kB / 0.6418 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00613/0.6089, allocations: 2.521 MB / 0.6443 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6089, allocations: 0 / 0.6443 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004164/0.6131, allocations: 1.594 MB / 0.6458 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6144, allocations: 120.8 kB / 0.6459 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.6188, allocations: 2.202 MB / 0.6481 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.6195, allocations: 1.116 MB / 0.6492 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004764/0.62, allocations: 116.6 kB / 0.6493 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.6203, allocations: 83.41 kB / 0.6494 GB, free: 11.45 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6203, allocations: 4 kB / 0.6494 GB, free: 11.44 MB / 462.1 MB Notification: Performance of Templates: time 0.03854/0.6589, allocations: 23.59 MB / 0.6724 GB, free: 4.082 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)