Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 170.1 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.372/1.372, allocations: 223.3 MB / 240.1 MB, free: 9.965 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.0008444/0.0008445, allocations: 90.22 kB / 291.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4362/0.4362, allocations: 78.62 MB / 421 MB, free: 9.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003882, allocations: 12 kB / 0.4894 GB, free: 9.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3105, allocations: 69.35 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.004877/0.3154, allocations: 6.406 MB / 0.5634 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.3192, allocations: 2.079 MB / 0.5654 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3204, allocations: 12 kB / 0.5654 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008926/0.3213, allocations: 194.8 kB / 0.5656 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.3236, allocations: 0.7093 MB / 0.5663 GB, free: 9.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3249, allocations: 0.6144 MB / 0.5669 GB, free: 8.781 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3263, allocations: 1.554 MB / 0.5684 GB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.3267, allocations: 285.3 kB / 0.5687 GB, free: 6.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.3272, allocations: 0.5793 MB / 0.5693 GB, free: 6.348 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.3278, allocations: 0.7932 MB / 0.57 GB, free: 5.551 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.328, allocations: 64 kB / 0.5701 GB, free: 5.488 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.3284, allocations: 191.9 kB / 0.5703 GB, free: 5.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3286, allocations: 278.6 kB / 0.5705 GB, free: 5.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.329, allocations: 0.6383 MB / 0.5712 GB, free: 4.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.3297, allocations: 1.264 MB / 0.5724 GB, free: 3.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3298, allocations: 0 / 0.5724 GB, free: 3.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3298, allocations: 0 / 0.5724 GB, free: 3.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3298, allocations: 0 / 0.5724 GB, free: 3.113 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007199/0.337, allocations: 2.572 MB / 0.5749 GB, free: 488 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.337, allocations: 12.03 kB / 0.5749 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.3417, allocations: 0.7826 MB / 0.5757 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.3433, allocations: 0.9257 MB / 0.5766 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.3436, allocations: 234.5 kB / 0.5768 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.3437, allocations: 87.91 kB / 0.5769 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.346, allocations: 1.185 MB / 0.5781 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.346, allocations: 0 / 0.5781 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.3461, allocations: 28 kB / 0.5781 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3461, allocations: 20 kB / 0.5781 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.3483, allocations: 1.089 MB / 0.5792 GB, free: 12.02 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.00681/0.3551, allocations: 4.046 MB / 0.5831 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007641/0.3628, allocations: 2.926 MB / 0.586 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.3646, allocations: 0.7719 MB / 0.5867 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.3647, allocations: 16.98 kB / 0.5868 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3647, allocations: 47.5 kB / 0.5868 GB, free: 3.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 3.998e-06/0.3648, allocations: 0 / 0.5868 GB, free: 3.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.02736/0.3921, allocations: 8.29 MB / 0.5949 GB, free: 11.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.3922, allocations: 141.5 kB / 0.595 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.3939, allocations: 1.131 MB / 0.5961 GB, free: 10.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.3941, allocations: 45.7 kB / 0.5962 GB, free: 10.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.3945, allocations: 0.493 MB / 0.5967 GB, free: 9.719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.3948, allocations: 358.9 kB / 0.597 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.395, allocations: 145.6 kB / 0.5971 GB, free: 9.215 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.3951, allocations: 301.1 kB / 0.5974 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.3969, allocations: 0.859 MB / 0.5983 GB, free: 8.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.3987, allocations: 1.029 MB / 0.5993 GB, free: 6.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02457/0.4233, allocations: 6.373 MB / 0.6055 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.4233, allocations: 4 kB / 0.6055 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01483/0.4381, allocations: 5.317 MB / 0.6107 GB, free: 11.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.4383, allocations: 242.7 kB / 0.6109 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4384, allocations: 4 kB / 0.6109 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/0.4447, allocations: 1.943 MB / 0.6128 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.446, allocations: 283.6 kB / 0.6131 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/0.4658, allocations: 8.94 MB / 0.6218 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.4677, allocations: 234.6 kB / 0.622 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4678, allocations: 55.97 kB / 0.6221 GB, free: 15.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.4678, allocations: 7.938 kB / 0.6221 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01405/0.4819, allocations: 5.163 MB / 0.6271 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4819, allocations: 4 kB / 0.6272 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00624/0.4882, allocations: 1.945 MB / 0.6291 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.4896, allocations: 275.6 kB / 0.6293 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.5098, allocations: 8.945 MB / 0.6381 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.5116, allocations: 206.9 kB / 0.6382 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5117, allocations: 55.97 kB / 0.6383 GB, free: 14.52 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 158 * 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.0007248/0.5124, allocations: 383.4 kB / 0.6387 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.5127, allocations: 134.3 kB / 0.6388 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.5259, allocations: 4.654 MB / 0.6433 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.526, allocations: 8 kB / 0.6433 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.526, allocations: 8 kB / 0.6434 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.526, allocations: 3.984 kB / 0.6434 GB, free: 9.297 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.01549/0.5415, allocations: 6.34 MB / 0.6495 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5416, allocations: 4.031 kB / 0.6496 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.5424, allocations: 119.9 kB / 0.6497 GB, free: 2.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005578/0.548, allocations: 1.789 MB / 0.6514 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.5482, allocations: 24 kB / 0.6514 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.5651, allocations: 7.605 MB / 0.6589 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5651, allocations: 0 / 0.6589 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.5802, allocations: 5.599 MB / 0.6643 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/0.5809, allocations: 235.1 kB / 0.6646 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.5811, allocations: 20 kB / 0.6646 GB, free: 3.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5823, allocations: 143.9 kB / 0.6647 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/0.5829, allocations: 176.7 kB / 0.6649 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.5829, allocations: 23.98 kB / 0.6649 GB, free: 2.926 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.5841, allocations: 0.7711 MB / 0.6657 GB, free: 2.148 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5841, allocations: 4 kB / 0.6657 GB, free: 2.145 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002093/0.5862, allocations: 0.7804 MB / 0.6664 GB, free: 1.363 MB / 474.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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (69): * Single equations (assignments): 67 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002788/0.5865, allocations: 140.8 kB / 0.6666 GB, free: 1.219 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/0.5984, allocations: 5.051 MB / 0.6715 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5984, allocations: 3.938 kB / 0.6715 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004291/0.6027, allocations: 1.679 MB / 0.6731 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.6039, allocations: 128.5 kB / 0.6733 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.6085, allocations: 3.032 MB / 0.6762 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.6092, allocations: 1.149 MB / 0.6773 GB, free: 6.016 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.6096, allocations: 87.41 kB / 0.6774 GB, free: 5.93 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6096, allocations: 0 / 0.6774 GB, free: 5.93 MB / 490.7 MB Notification: Performance of Templates: time 0.2859/0.8955, allocations: 22.5 MB / 0.6994 GB, free: 110.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)