Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0809/0.0809, allocations: 12.2 MB / 28.08 MB, free: 1.348 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.001087/0.001087, allocations: 125 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.47/1.47, allocations: 205.1 MB / 240.1 MB, free: 10.95 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.001342/0.001342, allocations: 192.5 kB / 290.2 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4433/0.4433, allocations: 78.52 MB / 418.8 MB, free: 31.77 MB / 318.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.002586/0.002586, allocations: 136.8 kB / 499.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3445, allocations: 68.03 MB / 0.5538 GB, free: 37.74 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005864/0.3504, allocations: 7.062 MB / 0.5607 GB, free: 32.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3541, allocations: 2.011 MB / 0.5627 GB, free: 31.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000875/0.3551, allocations: 11.44 kB / 0.5627 GB, free: 31.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.3558, allocations: 189.9 kB / 0.5629 GB, free: 31.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.3575, allocations: 0.7204 MB / 0.5636 GB, free: 30.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3585, allocations: 0.5996 MB / 0.5641 GB, free: 30.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.3597, allocations: 1.659 MB / 0.5658 GB, free: 29.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.3601, allocations: 325 kB / 0.5661 GB, free: 29.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.3607, allocations: 0.6903 MB / 0.5667 GB, free: 28.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.3614, allocations: 0.8786 MB / 0.5676 GB, free: 28.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.3616, allocations: 137.8 kB / 0.5677 GB, free: 28.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.362, allocations: 269.8 kB / 0.568 GB, free: 28.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.3622, allocations: 354.8 kB / 0.5683 GB, free: 28.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.3627, allocations: 0.6962 MB / 0.569 GB, free: 27.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009628/0.3637, allocations: 1.336 MB / 0.5703 GB, free: 27.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3637, allocations: 0 / 0.5703 GB, free: 27.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3637, allocations: 0 / 0.5703 GB, free: 27.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3637, allocations: 0 / 0.5703 GB, free: 27.29 MB / 414.1 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.008812/0.3725, allocations: 2.788 MB / 0.573 GB, free: 26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.3726, allocations: 14.45 kB / 0.5731 GB, free: 25.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.3774, allocations: 0.7773 MB / 0.5738 GB, free: 25.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.3792, allocations: 0.9188 MB / 0.5747 GB, free: 25.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.3795, allocations: 261.3 kB / 0.575 GB, free: 25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.3796, allocations: 91.39 kB / 0.575 GB, free: 24.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.382, allocations: 1.114 MB / 0.5761 GB, free: 24.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.382, allocations: 0 / 0.5761 GB, free: 24.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.3821, allocations: 29.81 kB / 0.5762 GB, free: 24.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3821, allocations: 28.84 kB / 0.5762 GB, free: 24.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.3843, allocations: 1 MB / 0.5772 GB, free: 24.17 MB / 414.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.007448/0.3918, allocations: 3.916 MB / 0.581 GB, free: 21.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007386/0.3992, allocations: 2.399 MB / 0.5833 GB, free: 21.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.4009, allocations: 0.6983 MB / 0.584 GB, free: 20.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.401, allocations: 17.03 kB / 0.584 GB, free: 20.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.4028, allocations: 0.8433 MB / 0.5849 GB, free: 20.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.697e-06/0.4028, allocations: 0 / 0.5849 GB, free: 20.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02754/0.4304, allocations: 7.08 MB / 0.5918 GB, free: 17.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.4305, allocations: 118 kB / 0.5919 GB, free: 17.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.4323, allocations: 1.147 MB / 0.593 GB, free: 16.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.4326, allocations: 42.83 kB / 0.593 GB, free: 16.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.4329, allocations: 0.4966 MB / 0.5935 GB, free: 16.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.4333, allocations: 365.2 kB / 0.5939 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/0.4338, allocations: 302.1 kB / 0.5942 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.4339, allocations: 302.6 kB / 0.5945 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4354, allocations: 0.7946 MB / 0.5952 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4371, allocations: 0.971 MB / 0.5962 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02368/0.4608, allocations: 5.945 MB / 0.602 GB, free: 8.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.4608, allocations: 0 / 0.602 GB, free: 8.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01247/0.4733, allocations: 4.504 MB / 0.6064 GB, free: 4.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.4734, allocations: 63.41 kB / 0.6064 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.4734, allocations: 4 kB / 0.6064 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/0.4791, allocations: 1.665 MB / 0.6081 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.4806, allocations: 299.5 kB / 0.6084 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.4997, allocations: 8.634 MB / 0.6168 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.502, allocations: 210.6 kB / 0.617 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.5021, allocations: 55.97 kB / 0.617 GB, free: 9.344 MB / 430.1 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.0006483/0.5028, allocations: 304 kB / 0.6173 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.503, allocations: 134.4 kB / 0.6175 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.5158, allocations: 3.92 MB / 0.6213 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.5159, allocations: 12 kB / 0.6213 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.5159, allocations: 8 kB / 0.6213 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-05/0.5159, allocations: 7.984 kB / 0.6213 GB, free: 4.93 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.01474/0.5307, allocations: 5.552 MB / 0.6267 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.5307, allocations: 3.938 kB / 0.6267 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.5315, allocations: 107.8 kB / 0.6268 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005316/0.5369, allocations: 1.59 MB / 0.6284 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.5371, allocations: 27.98 kB / 0.6284 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/0.5566, allocations: 9.639 MB / 0.6378 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5566, allocations: 4 kB / 0.6378 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.5712, allocations: 4.803 MB / 0.6425 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.5719, allocations: 235.2 kB / 0.6428 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.5721, allocations: 23.94 kB / 0.6428 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.5734, allocations: 103.9 kB / 0.6429 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006404/0.574, allocations: 200.7 kB / 0.6431 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.5741, allocations: 36.05 kB / 0.6431 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.5752, allocations: 0.7634 MB / 0.6438 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5753, allocations: 0 / 0.6438 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001452/0.5767, allocations: 499.4 kB / 0.6443 GB, free: 12.91 MB / 462.1 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.0003005/0.577, allocations: 143.1 kB / 0.6445 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006864/0.5839, allocations: 2.647 MB / 0.647 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5839, allocations: 0 / 0.647 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004288/0.5882, allocations: 1.621 MB / 0.6486 GB, free: 8.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.5895, allocations: 112.6 kB / 0.6487 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.5942, allocations: 2.909 MB / 0.6516 GB, free: 5.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.5949, allocations: 1.136 MB / 0.6527 GB, free: 4.191 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.5953, allocations: 87.41 kB / 0.6528 GB, free: 4.109 MB / 462.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5953, allocations: 0 / 0.6528 GB, free: 4.109 MB / 462.1 MB Notification: Performance of Templates: time 0.03038/0.6257, allocations: 24.2 MB / 0.6764 GB, free: 11.9 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)