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.001494/0.001494, allocations: 177.1 kB / 15.78 MB, free: 6.352 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.488/1.488, allocations: 223.3 MB / 239.8 MB, free: 1.734 MB / 186.7 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: 92.72 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.447/0.447, allocations: 78.62 MB / 420.7 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 12 kB / 0.4888 GB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 69.35 MB / 0.5565 GB, free: 38.69 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.005465/0.3352, allocations: 6.01 MB / 0.5624 GB, free: 37.45 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.339, allocations: 1.976 MB / 0.5643 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008451/0.3399, allocations: 16.31 kB / 0.5643 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3406, allocations: 173.8 kB / 0.5645 GB, free: 35.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.3423, allocations: 0.6833 MB / 0.5652 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3436, allocations: 0.5468 MB / 0.5657 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.3453, allocations: 1.448 MB / 0.5671 GB, free: 34.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.3458, allocations: 257.2 kB / 0.5674 GB, free: 34.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007848/0.3466, allocations: 0.5751 MB / 0.5679 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.3473, allocations: 0.7654 MB / 0.5687 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3475, allocations: 62.62 kB / 0.5687 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.348, allocations: 194.5 kB / 0.5689 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.3482, allocations: 270.2 kB / 0.5692 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3484, allocations: 235.6 kB / 0.5694 GB, free: 33.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.3492, allocations: 1.26 MB / 0.5706 GB, free: 33.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3492, allocations: 0 / 0.5706 GB, free: 33.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3493, allocations: 2.625 kB / 0.5706 GB, free: 33.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.3493, allocations: 0 / 0.5706 GB, free: 33.16 MB / 426.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.008059/0.3573, allocations: 2.586 MB / 0.5731 GB, free: 32.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3574, allocations: 10.06 kB / 0.5732 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.362, allocations: 0.788 MB / 0.5739 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3635, allocations: 0.8715 MB / 0.5748 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.3637, allocations: 249.9 kB / 0.575 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.3639, allocations: 89.38 kB / 0.5751 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.3661, allocations: 1.172 MB / 0.5762 GB, free: 30.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3661, allocations: 0 / 0.5762 GB, free: 30.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.3662, allocations: 33.22 kB / 0.5763 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3662, allocations: 25.52 kB / 0.5763 GB, free: 30.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.3683, allocations: 1.081 MB / 0.5774 GB, free: 30.26 MB / 426.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.006541/0.3748, allocations: 4.041 MB / 0.5813 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007541/0.3824, allocations: 2.921 MB / 0.5842 GB, free: 27.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3838, allocations: 0.7682 MB / 0.5849 GB, free: 26.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.3839, allocations: 15.39 kB / 0.5849 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.384, allocations: 48.08 kB / 0.585 GB, free: 26.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 4.068e-06/0.384, allocations: 0 / 0.585 GB, free: 26.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.03151/0.4155, allocations: 8.25 MB / 0.593 GB, free: 25.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.4156, allocations: 142.6 kB / 0.5932 GB, free: 25.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.4178, allocations: 1.125 MB / 0.5943 GB, free: 24.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.4181, allocations: 46.61 kB / 0.5943 GB, free: 24.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.4184, allocations: 0.4942 MB / 0.5948 GB, free: 24.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/0.4189, allocations: 356.7 kB / 0.5951 GB, free: 23.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.4191, allocations: 30.94 kB / 0.5952 GB, free: 23.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.4192, allocations: 361.5 kB / 0.5955 GB, free: 23.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.4212, allocations: 0.8469 MB / 0.5963 GB, free: 23.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.4231, allocations: 1.028 MB / 0.5973 GB, free: 22.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.4253, allocations: 0.9862 MB / 0.5983 GB, free: 22.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4253, allocations: 0 / 0.5983 GB, free: 22.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01683/0.4421, allocations: 5.243 MB / 0.6034 GB, free: 21.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.4423, allocations: 231.8 kB / 0.6036 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.4424, allocations: 2.938 kB / 0.6036 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007616/0.45, allocations: 1.946 MB / 0.6055 GB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.4516, allocations: 279.9 kB / 0.6058 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.4733, allocations: 10.19 MB / 0.6158 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.4755, allocations: 238.8 kB / 0.616 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.4757, allocations: 51.98 kB / 0.616 GB, free: 12.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.4758, allocations: 4 kB / 0.616 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01402/0.4898, allocations: 5.079 MB / 0.621 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.4899, allocations: 4 kB / 0.621 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006453/0.4963, allocations: 1.942 MB / 0.6229 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.4978, allocations: 271.6 kB / 0.6232 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/0.5191, allocations: 10.2 MB / 0.6331 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.5215, allocations: 211.1 kB / 0.6333 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003529/0.5219, allocations: 59.91 kB / 0.6334 GB, free: 10.6 MB / 442.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (162): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009922/0.5229, allocations: 380 kB / 0.6337 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/0.5233, allocations: 130.4 kB / 0.6339 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.5378, allocations: 4.646 MB / 0.6384 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.5379, allocations: 12 kB / 0.6384 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.5379, allocations: 8 kB / 0.6384 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-05/0.5379, allocations: 3.984 kB / 0.6384 GB, free: 5.391 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.01768/0.5556, allocations: 6.336 MB / 0.6446 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.5557, allocations: 0 / 0.6446 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.5566, allocations: 123.8 kB / 0.6447 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/0.5626, allocations: 1.793 MB / 0.6465 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.5628, allocations: 24 kB / 0.6465 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/0.5805, allocations: 7.597 MB / 0.6539 GB, free: 5.262 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5806, allocations: 0 / 0.6539 GB, free: 5.262 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.5964, allocations: 5.582 MB / 0.6594 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.5969, allocations: 239.2 kB / 0.6596 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.5972, allocations: 19.94 kB / 0.6596 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.5986, allocations: 139.9 kB / 0.6598 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/0.5991, allocations: 184.7 kB / 0.6599 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/0.5992, allocations: 27.98 kB / 0.66 GB, free: 15.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.6004, allocations: 0.7554 MB / 0.6607 GB, free: 14.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6004, allocations: 0 / 0.6607 GB, free: 14.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002359/0.6028, allocations: 0.7921 MB / 0.6615 GB, free: 13.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/0.6031, allocations: 137.4 kB / 0.6616 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/0.616, allocations: 5.192 MB / 0.6667 GB, free: 8.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.616, allocations: 8.062 kB / 0.6667 GB, free: 8.043 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/0.6206, allocations: 1.677 MB / 0.6683 GB, free: 6.336 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6216, allocations: 120.2 kB / 0.6684 GB, free: 6.219 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.626, allocations: 2.926 MB / 0.6713 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.6267, allocations: 1.141 MB / 0.6724 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.6271, allocations: 87.34 kB / 0.6725 GB, free: 2.016 MB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6271, allocations: 0 / 0.6725 GB, free: 2.016 MB / 474.7 MB Notification: Performance of Templates: time 0.03039/0.6575, allocations: 24.85 MB / 0.6968 GB, free: 9.145 MB / 0.4948 GB 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)