Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008391/0.0008393, allocations: 175 kB / 15.42 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007137/0.0007137, allocations: 91.45 kB / 289.8 MB, free: 14.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4252/0.4252, allocations: 78.42 MB / 418.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 12 kB / 498.4 MB, free: 3.902 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3179, allocations: 68.75 MB / 0.5539 GB, free: 39.65 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006051/0.324, allocations: 7.004 MB / 0.5607 GB, free: 36.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.3276, allocations: 2.058 MB / 0.5627 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.3282, allocations: 12.06 kB / 0.5627 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.3288, allocations: 199.1 kB / 0.5629 GB, free: 35.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.3305, allocations: 0.7212 MB / 0.5636 GB, free: 35.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3318, allocations: 0.6067 MB / 0.5642 GB, free: 35.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.3334, allocations: 1.576 MB / 0.5658 GB, free: 35.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.3338, allocations: 295.8 kB / 0.5661 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.3345, allocations: 0.5973 MB / 0.5666 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.3352, allocations: 0.7888 MB / 0.5674 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.3353, allocations: 64.84 kB / 0.5675 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.3357, allocations: 190.6 kB / 0.5677 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.336, allocations: 282.7 kB / 0.5679 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.3364, allocations: 0.6238 MB / 0.5685 GB, free: 33.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.3374, allocations: 1.618 MB / 0.5701 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3374, allocations: 0 / 0.5701 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3374, allocations: 0 / 0.5701 GB, free: 33.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3374, allocations: 0 / 0.5701 GB, free: 33.31 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007032/0.3445, allocations: 2.515 MB / 0.5726 GB, free: 32.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3445, allocations: 8.438 kB / 0.5726 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.349, allocations: 0.7776 MB / 0.5733 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3502, allocations: 0.9273 MB / 0.5742 GB, free: 31.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.3504, allocations: 264.3 kB / 0.5745 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3506, allocations: 89.56 kB / 0.5746 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3524, allocations: 1.115 MB / 0.5757 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3524, allocations: 0 / 0.5757 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.3525, allocations: 32.06 kB / 0.5757 GB, free: 30.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3525, allocations: 18.28 kB / 0.5757 GB, free: 30.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.3541, allocations: 0.9975 MB / 0.5767 GB, free: 30.36 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.0051/0.3593, allocations: 3.921 MB / 0.5805 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006305/0.3656, allocations: 2.405 MB / 0.5829 GB, free: 27.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.3667, allocations: 0.6978 MB / 0.5835 GB, free: 26.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.3668, allocations: 15.44 kB / 0.5836 GB, free: 26.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.3681, allocations: 0.8336 MB / 0.5844 GB, free: 26.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 2.174e-06/0.3681, allocations: 0 / 0.5844 GB, free: 26.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.026/0.3941, allocations: 7.089 MB / 0.5913 GB, free: 25.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3942, allocations: 121.7 kB / 0.5914 GB, free: 25.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.396, allocations: 1.14 MB / 0.5925 GB, free: 24.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.3962, allocations: 46.11 kB / 0.5926 GB, free: 24.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.3965, allocations: 0.4928 MB / 0.5931 GB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.3969, allocations: 371.5 kB / 0.5934 GB, free: 23.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.3971, allocations: 153 kB / 0.5936 GB, free: 23.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.56e-05/0.3971, allocations: 301.1 kB / 0.5938 GB, free: 23.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.3989, allocations: 0.7988 MB / 0.5946 GB, free: 23.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.4006, allocations: 0.9727 MB / 0.5956 GB, free: 22.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02399/0.4246, allocations: 5.933 MB / 0.6014 GB, free: 20.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4246, allocations: 0 / 0.6014 GB, free: 20.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01313/0.4378, allocations: 4.501 MB / 0.6058 GB, free: 18.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.4378, allocations: 62.7 kB / 0.6058 GB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4379, allocations: 3.25 kB / 0.6058 GB, free: 18.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/0.4434, allocations: 1.67 MB / 0.6075 GB, free: 18.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4447, allocations: 292.2 kB / 0.6077 GB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.4614, allocations: 7.943 MB / 0.6155 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4633, allocations: 210.5 kB / 0.6157 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.4635, allocations: 55.97 kB / 0.6157 GB, free: 11.75 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005501/0.4641, allocations: 315.2 kB / 0.616 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.4643, allocations: 126.4 kB / 0.6162 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.4752, allocations: 3.924 MB / 0.62 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4752, allocations: 8 kB / 0.62 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.4753, allocations: 8 kB / 0.62 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4753, allocations: 3.984 kB / 0.62 GB, free: 7.34 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 postOpt removeSimpleEquations (simulation): time 0.01228/0.4876, allocations: 5.552 MB / 0.6254 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4876, allocations: 0 / 0.6254 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.4882, allocations: 103.9 kB / 0.6255 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004642/0.4928, allocations: 1.59 MB / 0.6271 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.4929, allocations: 27.94 kB / 0.6271 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.5105, allocations: 8.78 MB / 0.6357 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5105, allocations: 7.938 kB / 0.6357 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/0.5244, allocations: 4.803 MB / 0.6404 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.5249, allocations: 227.2 kB / 0.6406 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.5252, allocations: 27.98 kB / 0.6406 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.5265, allocations: 103.9 kB / 0.6407 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005732/0.5271, allocations: 196.7 kB / 0.6409 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.5272, allocations: 23.98 kB / 0.6409 GB, free: 1.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.5284, allocations: 0.7713 MB / 0.6417 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5284, allocations: 0 / 0.6417 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001447/0.5299, allocations: 487.6 kB / 0.6422 GB, free: 212 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.0002704/0.5301, allocations: 143 kB / 0.6423 GB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006306/0.5365, allocations: 2.622 MB / 0.6449 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5365, allocations: 0 / 0.6449 GB, free: 13.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004051/0.5405, allocations: 1.612 MB / 0.6464 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.5415, allocations: 120 kB / 0.6465 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.5456, allocations: 2.871 MB / 0.6493 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.5464, allocations: 1.132 MB / 0.6505 GB, free: 7.578 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004636/0.5468, allocations: 120.3 kB / 0.6506 GB, free: 7.457 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.5471, allocations: 79.41 kB / 0.6506 GB, free: 7.379 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5471, allocations: 7.938 kB / 0.6507 GB, free: 7.371 MB / 458.7 MB Notification: Performance of Templates: time 0.03127/0.5784, allocations: 21.91 MB / 0.6721 GB, free: 1.496 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)