Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 169.3 kB / 16.1 MB, free: 5.691 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.369/1.369, allocations: 223.3 MB / 240.1 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.000837, allocations: 95.05 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4461/0.4461, allocations: 78.61 MB / 421 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 12 kB / 0.4894 GB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.004971/0.3204, allocations: 6.218 MB / 0.5632 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.3245, allocations: 2.013 MB / 0.5652 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.3258, allocations: 15.94 kB / 0.5652 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3268, allocations: 182.8 kB / 0.5654 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.3299, allocations: 0.7075 MB / 0.566 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.3316, allocations: 0.6055 MB / 0.5666 GB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.3341, allocations: 1.456 MB / 0.5681 GB, free: 7.586 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.3348, allocations: 285.2 kB / 0.5683 GB, free: 7.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3359, allocations: 0.552 MB / 0.5689 GB, free: 6.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3369, allocations: 0.7387 MB / 0.5696 GB, free: 6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.3374, allocations: 63.94 kB / 0.5697 GB, free: 5.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.3381, allocations: 183.9 kB / 0.5698 GB, free: 5.758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.3386, allocations: 262.7 kB / 0.5701 GB, free: 5.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007762/0.3393, allocations: 0.6189 MB / 0.5707 GB, free: 4.871 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.3405, allocations: 1.217 MB / 0.5719 GB, free: 3.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3405, allocations: 4 kB / 0.5719 GB, free: 3.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3405, allocations: 0 / 0.5719 GB, free: 3.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.457e-05/0.3406, allocations: 0 / 0.5719 GB, free: 3.648 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007636/0.3482, allocations: 2.474 MB / 0.5743 GB, free: 1.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3483, allocations: 8.031 kB / 0.5743 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004727/0.353, allocations: 0.7788 MB / 0.5751 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.3551, allocations: 0.8825 MB / 0.5759 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.3554, allocations: 234.5 kB / 0.5761 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.3557, allocations: 84 kB / 0.5762 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.3581, allocations: 1.158 MB / 0.5774 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3581, allocations: 0 / 0.5774 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.3582, allocations: 24 kB / 0.5774 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.3583, allocations: 24 kB / 0.5774 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.3605, allocations: 1.074 MB / 0.5785 GB, free: 12.75 MB / 394.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.006776/0.3672, allocations: 3.94 MB / 0.5823 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00774/0.375, allocations: 2.889 MB / 0.5851 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.3766, allocations: 0.7562 MB / 0.5859 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3767, allocations: 12.98 kB / 0.5859 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.3768, allocations: 47.55 kB / 0.5859 GB, free: 4.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.266e-06/0.3768, allocations: 0 / 0.5859 GB, free: 4.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02906/0.4059, allocations: 8.466 MB / 0.5942 GB, free: 12.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.406, allocations: 145.5 kB / 0.5943 GB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.4081, allocations: 1.079 MB / 0.5954 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.4084, allocations: 45.7 kB / 0.5954 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/0.4088, allocations: 0.489 MB / 0.5959 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.4093, allocations: 343.2 kB / 0.5962 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.4097, allocations: 141.6 kB / 0.5964 GB, free: 9.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4098, allocations: 301.1 kB / 0.5966 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.4116, allocations: 0.816 MB / 0.5974 GB, free: 8.883 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.4136, allocations: 0.9852 MB / 0.5984 GB, free: 7.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02246/0.436, allocations: 5.971 MB / 0.6042 GB, free: 1.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4361, allocations: 0 / 0.6042 GB, free: 1.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01395/0.45, allocations: 5.184 MB / 0.6093 GB, free: 12.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.4502, allocations: 230.7 kB / 0.6095 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4503, allocations: 4 kB / 0.6095 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005822/0.4561, allocations: 1.869 MB / 0.6114 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4573, allocations: 255.7 kB / 0.6116 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.4772, allocations: 8.843 MB / 0.6202 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.479, allocations: 222.8 kB / 0.6204 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.4792, allocations: 55.97 kB / 0.6205 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.4792, allocations: 4 kB / 0.6205 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01406/0.4933, allocations: 5.015 MB / 0.6254 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.4933, allocations: 4 kB / 0.6254 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005753/0.4991, allocations: 1.859 MB / 0.6272 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5003, allocations: 259.6 kB / 0.6275 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.52, allocations: 8.831 MB / 0.6361 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.5217, allocations: 207 kB / 0.6363 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.522, allocations: 43.98 kB / 0.6363 GB, free: 0.5273 MB / 442.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * 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.0009193/0.5229, allocations: 375.5 kB / 0.6367 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/0.5234, allocations: 130.3 kB / 0.6368 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.5367, allocations: 4.595 MB / 0.6413 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5367, allocations: 12 kB / 0.6413 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.5367, allocations: 4 kB / 0.6413 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.5368, allocations: 7.984 kB / 0.6413 GB, free: 11.37 MB / 458.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.01602/0.5528, allocations: 6.238 MB / 0.6474 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.5528, allocations: 0 / 0.6474 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.5534, allocations: 111.8 kB / 0.6475 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005293/0.5587, allocations: 1.797 MB / 0.6493 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5589, allocations: 24 kB / 0.6493 GB, free: 3.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.576, allocations: 7.644 MB / 0.6568 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.576, allocations: 4 kB / 0.6568 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.5911, allocations: 5.525 MB / 0.6622 GB, free: 5.738 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.5917, allocations: 231.2 kB / 0.6624 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/0.5921, allocations: 16 kB / 0.6624 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5936, allocations: 135.9 kB / 0.6625 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007098/0.5943, allocations: 176.7 kB / 0.6627 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5945, allocations: 27.92 kB / 0.6627 GB, free: 5.145 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001741/0.5962, allocations: 0.7313 MB / 0.6634 GB, free: 4.406 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5962, allocations: 0 / 0.6634 GB, free: 4.406 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003158/0.5994, allocations: 0.7491 MB / 0.6642 GB, free: 3.656 MB / 474.7 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.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004233/0.5998, allocations: 139.4 kB / 0.6643 GB, free: 3.508 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/0.612, allocations: 4.848 MB / 0.669 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.612, allocations: 3.938 kB / 0.669 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004253/0.6163, allocations: 1.658 MB / 0.6707 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6175, allocations: 116.4 kB / 0.6708 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.6224, allocations: 2.774 MB / 0.6735 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/0.6233, allocations: 1.133 MB / 0.6746 GB, free: 8.824 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.6237, allocations: 79.42 kB / 0.6747 GB, free: 8.746 MB / 490.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6237, allocations: 4 kB / 0.6747 GB, free: 8.742 MB / 490.7 MB Notification: Performance of Templates: time 0.3293/0.953, allocations: 21.65 MB / 0.6958 GB, free: 111.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)