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.0008704/0.0008705, allocations: 177.4 kB / 15.42 MB, free: 6.215 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.228/1.228, allocations: 222.9 MB / 239 MB, free: 120 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007715/0.0007716, allocations: 95.47 kB / 289.8 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3067/0.3067, allocations: 78.43 MB / 419 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 13.08 kB / 498.4 MB, free: 35.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2975, allocations: 68.75 MB / 0.5539 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.006432/0.304, allocations: 6.684 MB / 0.5604 GB, free: 6.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004198/0.3082, allocations: 2.033 MB / 0.5624 GB, free: 4.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.3093, allocations: 12.28 kB / 0.5624 GB, free: 4.574 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.3101, allocations: 185.1 kB / 0.5626 GB, free: 4.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.3121, allocations: 0.7061 MB / 0.5633 GB, free: 4.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3134, allocations: 0.6118 MB / 0.5639 GB, free: 3.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.315, allocations: 1.456 MB / 0.5653 GB, free: 3.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.3154, allocations: 279.3 kB / 0.5656 GB, free: 2.867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.316, allocations: 0.5512 MB / 0.5661 GB, free: 2.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.3168, allocations: 0.7433 MB / 0.5668 GB, free: 2.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.317, allocations: 57.75 kB / 0.5669 GB, free: 2.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3174, allocations: 188.9 kB / 0.5671 GB, free: 2.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.3177, allocations: 263.2 kB / 0.5673 GB, free: 2.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.3181, allocations: 0.5884 MB / 0.5679 GB, free: 1.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.3197, allocations: 1.547 MB / 0.5694 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3198, allocations: 0 / 0.5694 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3198, allocations: 0 / 0.5694 GB, free: 1.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.3198, allocations: 1.406 kB / 0.5694 GB, free: 1.141 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.007976/0.3278, allocations: 2.408 MB / 0.5717 GB, free: 28 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3278, allocations: 9.375 kB / 0.5718 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/0.3329, allocations: 0.7757 MB / 0.5725 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.3349, allocations: 0.8869 MB / 0.5734 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.3351, allocations: 230.4 kB / 0.5736 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.3353, allocations: 81.16 kB / 0.5737 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.3376, allocations: 1.093 MB / 0.5747 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3376, allocations: 5.125 kB / 0.5747 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/0.3377, allocations: 29.97 kB / 0.5748 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.3377, allocations: 21.42 kB / 0.5748 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3398, allocations: 1 MB / 0.5758 GB, free: 14.26 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.006617/0.3464, allocations: 3.844 MB / 0.5795 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007101/0.3536, allocations: 2.345 MB / 0.5818 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.3552, allocations: 0.6855 MB / 0.5825 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.3553, allocations: 18.64 kB / 0.5825 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3554, allocations: 39.84 kB / 0.5825 GB, free: 9.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.988e-06/0.3554, allocations: 0 / 0.5825 GB, free: 9.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.02662/0.382, allocations: 6.879 MB / 0.5893 GB, free: 6.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.3821, allocations: 139.5 kB / 0.5894 GB, free: 5.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.384, allocations: 1.087 MB / 0.5905 GB, free: 5.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.3843, allocations: 42.14 kB / 0.5905 GB, free: 5.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.3847, allocations: 0.4884 MB / 0.591 GB, free: 4.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.385, allocations: 339.1 kB / 0.5913 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3852, allocations: 136.7 kB / 0.5914 GB, free: 4.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.3853, allocations: 302.2 kB / 0.5917 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3868, allocations: 0.7553 MB / 0.5924 GB, free: 3.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3883, allocations: 0.9187 MB / 0.5933 GB, free: 2.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02154/0.4099, allocations: 5.529 MB / 0.5987 GB, free: 12.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4099, allocations: 4 kB / 0.5987 GB, free: 12.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01259/0.4225, allocations: 4.332 MB / 0.603 GB, free: 8.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.4227, allocations: 230.7 kB / 0.6032 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.4228, allocations: 4 kB / 0.6032 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0056/0.4284, allocations: 1.588 MB / 0.6048 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.4298, allocations: 259.6 kB / 0.605 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.4469, allocations: 7.839 MB / 0.6127 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.4488, allocations: 186.7 kB / 0.6128 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.4489, allocations: 55.97 kB / 0.6129 GB, free: 14.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.4489, allocations: 4 kB / 0.6129 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01224/0.4612, allocations: 4.179 MB / 0.617 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4612, allocations: 4 kB / 0.617 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00522/0.4664, allocations: 1.586 MB / 0.6185 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4676, allocations: 255.7 kB / 0.6188 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.4847, allocations: 7.845 MB / 0.6264 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.4866, allocations: 171 kB / 0.6266 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4867, allocations: 51.98 kB / 0.6266 GB, free: 15.89 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.0007639/0.4875, allocations: 379.4 kB / 0.627 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.4877, allocations: 130.3 kB / 0.6271 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.4991, allocations: 3.743 MB / 0.6308 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4992, allocations: 12 kB / 0.6308 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4992, allocations: 4 kB / 0.6308 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.4992, allocations: 11.97 kB / 0.6308 GB, free: 11.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.01381/0.513, allocations: 5.39 MB / 0.6361 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5131, allocations: 0 / 0.6361 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.5137, allocations: 115.8 kB / 0.6362 GB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/0.5186, allocations: 1.512 MB / 0.6377 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.5188, allocations: 20 kB / 0.6377 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.5335, allocations: 6.766 MB / 0.6443 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5335, allocations: 7.938 kB / 0.6443 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.5464, allocations: 4.615 MB / 0.6488 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.5469, allocations: 219.3 kB / 0.649 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.5472, allocations: 20 kB / 0.649 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5483, allocations: 107.9 kB / 0.6491 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/0.5488, allocations: 172.8 kB / 0.6493 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.5489, allocations: 35.92 kB / 0.6493 GB, free: 8.305 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.5501, allocations: 0.7274 MB / 0.65 GB, free: 7.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5501, allocations: 0 / 0.65 GB, free: 7.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001947/0.5521, allocations: 0.7491 MB / 0.6508 GB, free: 6.82 MB / 458.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.0002332/0.5523, allocations: 132.8 kB / 0.6509 GB, free: 6.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009989/0.5623, allocations: 4.348 MB / 0.6551 GB, free: 2.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5623, allocations: 0 / 0.6551 GB, free: 2.266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003687/0.566, allocations: 1.439 MB / 0.6566 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/0.5669, allocations: 112.5 kB / 0.6567 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.5705, allocations: 2.648 MB / 0.6592 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.5711, allocations: 1.137 MB / 0.6604 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005796/0.5717, allocations: 151.7 kB / 0.6605 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.572, allocations: 75.41 kB / 0.6606 GB, free: 12.62 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.572, allocations: 0 / 0.6606 GB, free: 12.62 MB / 474.7 MB Notification: Performance of Templates: time 0.03604/0.608, allocations: 26.54 MB / 0.6865 GB, free: 2.074 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)