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.001475/0.001475, allocations: 173.6 kB / 16.07 MB, free: 5.727 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.274/1.274, allocations: 222.8 MB / 239.7 MB, free: 11.94 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.0008191/0.0008191, allocations: 95.58 kB / 290.4 MB, free: 11.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.463/0.463, allocations: 78.42 MB / 419.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 499.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3274, allocations: 68.74 MB / 0.5545 GB, free: 20.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.005185/0.3327, allocations: 6.68 MB / 0.561 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.3362, allocations: 2.036 MB / 0.563 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/0.3368, allocations: 16 kB / 0.563 GB, free: 11.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.3374, allocations: 186.8 kB / 0.5632 GB, free: 11.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.339, allocations: 0.6978 MB / 0.5639 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.34, allocations: 0.6028 MB / 0.5645 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009142/0.3409, allocations: 1.456 MB / 0.5659 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.3413, allocations: 289.1 kB / 0.5662 GB, free: 8.266 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.3417, allocations: 0.5442 MB / 0.5667 GB, free: 7.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.3423, allocations: 0.7426 MB / 0.5674 GB, free: 6.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3424, allocations: 60 kB / 0.5675 GB, free: 6.914 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.3427, allocations: 187.9 kB / 0.5677 GB, free: 6.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.3429, allocations: 262.7 kB / 0.5679 GB, free: 6.473 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.3433, allocations: 0.5938 MB / 0.5685 GB, free: 5.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.344, allocations: 1.221 MB / 0.5697 GB, free: 4.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.344, allocations: 0 / 0.5697 GB, free: 4.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.344, allocations: 0 / 0.5697 GB, free: 4.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.344, allocations: 0 / 0.5697 GB, free: 4.652 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.006898/0.351, allocations: 2.408 MB / 0.572 GB, free: 2.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.351, allocations: 12.03 kB / 0.5721 GB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/0.3558, allocations: 0.7671 MB / 0.5728 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.3573, allocations: 0.8825 MB / 0.5737 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.3575, allocations: 230.5 kB / 0.5739 GB, free: 208 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3577, allocations: 84 kB / 0.574 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.3598, allocations: 1.091 MB / 0.575 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3598, allocations: 0 / 0.575 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/0.3599, allocations: 32 kB / 0.5751 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3599, allocations: 16 kB / 0.5751 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3619, allocations: 1.007 MB / 0.5761 GB, free: 13.96 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.006357/0.3683, allocations: 3.854 MB / 0.5798 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.3752, allocations: 2.334 MB / 0.5821 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3766, allocations: 0.68 MB / 0.5828 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.3767, allocations: 16.98 kB / 0.5828 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.3767, allocations: 47.56 kB / 0.5828 GB, free: 6.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.645e-06/0.3767, allocations: 0 / 0.5828 GB, free: 6.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02692/0.4037, allocations: 6.884 MB / 0.5896 GB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.4038, allocations: 145.5 kB / 0.5897 GB, free: 15.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4055, allocations: 1.079 MB / 0.5907 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.4057, allocations: 45.7 kB / 0.5908 GB, free: 14.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.406, allocations: 0.4967 MB / 0.5913 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.4064, allocations: 339.2 kB / 0.5916 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.4066, allocations: 141.6 kB / 0.5917 GB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4067, allocations: 301.1 kB / 0.592 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.4082, allocations: 0.7535 MB / 0.5928 GB, free: 12.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.4098, allocations: 0.9149 MB / 0.5937 GB, free: 11.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02226/0.4321, allocations: 5.521 MB / 0.599 GB, free: 5.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4321, allocations: 0 / 0.599 GB, free: 5.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01334/0.4455, allocations: 4.34 MB / 0.6033 GB, free: 1.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.4458, allocations: 226.7 kB / 0.6035 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4458, allocations: 4 kB / 0.6035 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005642/0.4514, allocations: 1.596 MB / 0.6051 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.4529, allocations: 259.6 kB / 0.6053 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.4716, allocations: 7.843 MB / 0.613 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.4739, allocations: 182.8 kB / 0.6131 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.4741, allocations: 55.97 kB / 0.6132 GB, free: 7.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4742, allocations: 4 kB / 0.6132 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/0.4873, allocations: 4.183 MB / 0.6173 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.4874, allocations: 0 / 0.6173 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/0.4929, allocations: 1.578 MB / 0.6188 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4943, allocations: 251.6 kB / 0.6191 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/0.5122, allocations: 7.843 MB / 0.6267 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.514, allocations: 175 kB / 0.6269 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.5141, allocations: 51.98 kB / 0.6269 GB, free: 8.906 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.00077/0.5149, allocations: 387 kB / 0.6273 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5151, allocations: 130.3 kB / 0.6274 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.5267, allocations: 3.747 MB / 0.6311 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5268, allocations: 12 kB / 0.6311 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.5268, allocations: 4 kB / 0.6311 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/0.5268, allocations: 11.97 kB / 0.6311 GB, free: 4.59 MB / 442.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.01416/0.541, allocations: 5.39 MB / 0.6364 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.5411, allocations: 0 / 0.6364 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.5418, allocations: 111.8 kB / 0.6365 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005084/0.5469, allocations: 1.512 MB / 0.638 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.5471, allocations: 20 kB / 0.638 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/0.5623, allocations: 6.771 MB / 0.6446 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5623, allocations: 0 / 0.6446 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.5758, allocations: 4.615 MB / 0.6491 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.5763, allocations: 219.4 kB / 0.6493 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.5765, allocations: 20 kB / 0.6493 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5775, allocations: 111.8 kB / 0.6494 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/0.5781, allocations: 168.7 kB / 0.6496 GB, free: 1.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.5781, allocations: 39.92 kB / 0.6496 GB, free: 1.309 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.5792, allocations: 0.7274 MB / 0.6503 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5792, allocations: 0 / 0.6503 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001943/0.5812, allocations: 0.7491 MB / 0.6511 GB, free: 15.82 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.0002443/0.5814, allocations: 128.2 kB / 0.6512 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/0.5925, allocations: 4.355 MB / 0.6555 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5925, allocations: 0 / 0.6555 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003897/0.5965, allocations: 1.431 MB / 0.6569 GB, free: 9.809 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5975, allocations: 112.5 kB / 0.657 GB, free: 9.695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.6015, allocations: 2.689 MB / 0.6596 GB, free: 6.977 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.6022, allocations: 1.137 MB / 0.6607 GB, free: 5.809 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.6026, allocations: 79.42 kB / 0.6608 GB, free: 5.73 MB / 474.7 MB Notification: Performance of SimCode: time 6.42e-07/0.6026, allocations: 0 / 0.6608 GB, free: 5.73 MB / 474.7 MB Notification: Performance of Templates: time 0.02927/0.6319, allocations: 21.66 MB / 0.6819 GB, free: 56 kB / 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)