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.005051/0.005051, allocations: 167.8 kB / 15.13 MB, free: 6.023 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.256/1.256, allocations: 223.3 MB / 239.1 MB, free: 1.672 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.0008027/0.0008027, allocations: 101.9 kB / 290.3 MB, free: 13.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4293/0.4293, allocations: 78.61 MB / 420 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 16 kB / 499.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 69.34 MB / 0.5559 GB, free: 38.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.006218/0.352, allocations: 6.007 MB / 0.5618 GB, free: 37.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004465/0.3565, allocations: 1.982 MB / 0.5637 GB, free: 36.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.3573, allocations: 14.97 kB / 0.5637 GB, free: 36.05 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.358, allocations: 176.9 kB / 0.5639 GB, free: 35.97 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.36, allocations: 0.6781 MB / 0.5645 GB, free: 35.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3614, allocations: 0.5453 MB / 0.5651 GB, free: 35.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.3633, allocations: 1.453 MB / 0.5665 GB, free: 34.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.3637, allocations: 254.2 kB / 0.5667 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009132/0.3646, allocations: 0.5721 MB / 0.5673 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.3655, allocations: 0.7716 MB / 0.568 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3657, allocations: 62.72 kB / 0.5681 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.3663, allocations: 187.8 kB / 0.5683 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3665, allocations: 270.1 kB / 0.5685 GB, free: 33.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.3667, allocations: 235.7 kB / 0.5688 GB, free: 33.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3679, allocations: 1.26 MB / 0.57 GB, free: 33.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3679, allocations: 7.359 kB / 0.57 GB, free: 33.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3679, allocations: 0 / 0.57 GB, free: 33.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.368, allocations: 0 / 0.57 GB, free: 33.18 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.008384/0.3764, allocations: 2.584 MB / 0.5725 GB, free: 32.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.3764, allocations: 11.81 kB / 0.5725 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.3814, allocations: 0.794 MB / 0.5733 GB, free: 31.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.3832, allocations: 0.8743 MB / 0.5742 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.3834, allocations: 248.1 kB / 0.5744 GB, free: 31.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3836, allocations: 85.94 kB / 0.5745 GB, free: 31.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.3857, allocations: 1.172 MB / 0.5756 GB, free: 30.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3857, allocations: 4 kB / 0.5756 GB, free: 30.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/0.3858, allocations: 29.44 kB / 0.5757 GB, free: 30.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3858, allocations: 22.52 kB / 0.5757 GB, free: 30.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.3878, allocations: 1.085 MB / 0.5767 GB, free: 30.27 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.006114/0.3939, allocations: 4.037 MB / 0.5807 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.4019, allocations: 2.92 MB / 0.5835 GB, free: 27.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.4037, allocations: 0.7712 MB / 0.5843 GB, free: 26.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.4038, allocations: 19.27 kB / 0.5843 GB, free: 26.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.4039, allocations: 45.22 kB / 0.5844 GB, free: 26.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 4.077e-06/0.4039, allocations: 0 / 0.5844 GB, free: 26.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02958/0.4335, allocations: 8.252 MB / 0.5924 GB, free: 25.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.4336, allocations: 139.3 kB / 0.5925 GB, free: 25.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.436, allocations: 1.126 MB / 0.5936 GB, free: 24.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003273/0.4364, allocations: 46.14 kB / 0.5937 GB, free: 24.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.4369, allocations: 0.4917 MB / 0.5942 GB, free: 24.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/0.4374, allocations: 358 kB / 0.5945 GB, free: 23.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.4377, allocations: 30.41 kB / 0.5945 GB, free: 23.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4378, allocations: 362.4 kB / 0.5949 GB, free: 23.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.4399, allocations: 0.8498 MB / 0.5957 GB, free: 23.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.442, allocations: 1.028 MB / 0.5967 GB, free: 22.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.4441, allocations: 0.9819 MB / 0.5977 GB, free: 22.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.4441, allocations: 1.344 kB / 0.5977 GB, free: 22.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01634/0.4604, allocations: 5.246 MB / 0.6028 GB, free: 21.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.4606, allocations: 228 kB / 0.603 GB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.4607, allocations: 7.156 kB / 0.603 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007434/0.4681, allocations: 1.946 MB / 0.6049 GB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.4699, allocations: 280.5 kB / 0.6052 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.4925, allocations: 10.2 MB / 0.6151 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.4949, allocations: 230.8 kB / 0.6154 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.4952, allocations: 55.98 kB / 0.6154 GB, free: 12.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.4952, allocations: 4 kB / 0.6154 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0139/0.5091, allocations: 5.075 MB / 0.6204 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.5092, allocations: 4 kB / 0.6204 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006389/0.5156, allocations: 1.946 MB / 0.6223 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.517, allocations: 267.6 kB / 0.6225 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/0.5375, allocations: 10.2 MB / 0.6325 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.5396, allocations: 211.1 kB / 0.6327 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.54, allocations: 59.91 kB / 0.6328 GB, free: 10.61 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.0007743/0.5407, allocations: 379.5 kB / 0.6331 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.5411, allocations: 126.4 kB / 0.6332 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.5549, allocations: 4.646 MB / 0.6378 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.555, allocations: 8 kB / 0.6378 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.555, allocations: 8 kB / 0.6378 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.555, allocations: 7.969 kB / 0.6378 GB, free: 5.402 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.01655/0.5716, allocations: 6.336 MB / 0.644 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.5716, allocations: 0 / 0.644 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.5725, allocations: 127.8 kB / 0.6441 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0059/0.5784, allocations: 1.789 MB / 0.6459 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.5787, allocations: 24 kB / 0.6459 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.5962, allocations: 7.603 MB / 0.6533 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5962, allocations: 0 / 0.6533 GB, free: 5.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/0.6122, allocations: 5.582 MB / 0.6588 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.6127, allocations: 239.2 kB / 0.659 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.6131, allocations: 20 kB / 0.659 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.6146, allocations: 143.9 kB / 0.6591 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000516/0.6151, allocations: 176.7 kB / 0.6593 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.6152, allocations: 27.98 kB / 0.6593 GB, free: 15.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001249/0.6165, allocations: 0.7554 MB / 0.6601 GB, free: 14.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6165, allocations: 0 / 0.6601 GB, free: 14.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002382/0.6189, allocations: 0.796 MB / 0.6609 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.0003056/0.6192, allocations: 141.4 kB / 0.661 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/0.6319, allocations: 5.184 MB / 0.666 GB, free: 8.059 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6319, allocations: 0 / 0.666 GB, free: 8.059 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004571/0.6365, allocations: 1.697 MB / 0.6677 GB, free: 6.332 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6376, allocations: 116.6 kB / 0.6678 GB, free: 6.215 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.6421, allocations: 2.864 MB / 0.6706 GB, free: 3.332 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.6428, allocations: 1.145 MB / 0.6717 GB, free: 2.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007357/0.6435, allocations: 171.8 kB / 0.6719 GB, free: 1.988 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.6438, allocations: 79.41 kB / 0.672 GB, free: 1.91 MB / 474.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6439, allocations: 0 / 0.672 GB, free: 1.91 MB / 474.7 MB Notification: Performance of Templates: time 0.04386/0.6877, allocations: 28.19 MB / 0.6995 GB, free: 5.738 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)