Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001025, allocations: 173.7 kB / 15.77 MB, free: 6.039 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.473/1.473, allocations: 223.2 MB / 239.8 MB, free: 1.688 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.0007923/0.0007923, allocations: 92.48 kB / 290.9 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4688/0.4688, allocations: 78.61 MB / 420.7 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 12 kB / 0.4888 GB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 69.34 MB / 0.5565 GB, free: 38.68 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.005785/0.3562, allocations: 5.961 MB / 0.5623 GB, free: 37.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.3609, allocations: 1.963 MB / 0.5642 GB, free: 36.01 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.3622, allocations: 14.84 kB / 0.5643 GB, free: 36.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007646/0.363, allocations: 173 kB / 0.5644 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.3654, allocations: 0.6676 MB / 0.5651 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3668, allocations: 0.545 MB / 0.5656 GB, free: 35.24 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.3688, allocations: 1.426 MB / 0.567 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.3693, allocations: 259.7 kB / 0.5672 GB, free: 34.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.3702, allocations: 0.5605 MB / 0.5678 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008306/0.3711, allocations: 0.7487 MB / 0.5685 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.3713, allocations: 61.78 kB / 0.5686 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.3718, allocations: 187.5 kB / 0.5688 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.372, allocations: 273.2 kB / 0.569 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.3722, allocations: 232.7 kB / 0.5692 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.3731, allocations: 1.25 MB / 0.5705 GB, free: 33.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3731, allocations: 0 / 0.5705 GB, free: 33.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3731, allocations: 0 / 0.5705 GB, free: 33.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.3732, allocations: 0 / 0.5705 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008007/0.3812, allocations: 2.545 MB / 0.573 GB, free: 32.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3812, allocations: 8.25 kB / 0.573 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.3864, allocations: 0.7884 MB / 0.5737 GB, free: 31.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3883, allocations: 0.8699 MB / 0.5746 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.3885, allocations: 239.5 kB / 0.5748 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.3887, allocations: 84.75 kB / 0.5749 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.3909, allocations: 1.159 MB / 0.576 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.391, allocations: 3.234 kB / 0.576 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.3911, allocations: 32.12 kB / 0.5761 GB, free: 30.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.3911, allocations: 20.42 kB / 0.5761 GB, free: 30.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.3931, allocations: 1.077 MB / 0.5771 GB, free: 30.3 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.006672/0.3998, allocations: 4.007 MB / 0.581 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007624/0.4074, allocations: 2.899 MB / 0.5839 GB, free: 27.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.4091, allocations: 0.7628 MB / 0.5846 GB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.695e-05/0.4092, allocations: 22.62 kB / 0.5846 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.4092, allocations: 42.19 kB / 0.5847 GB, free: 26.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=94): time 2.985e-06/0.4092, allocations: 0 / 0.5847 GB, free: 26.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.02871/0.4379, allocations: 8.219 MB / 0.5927 GB, free: 25.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.438, allocations: 143.1 kB / 0.5928 GB, free: 25.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.4399, allocations: 1.117 MB / 0.5939 GB, free: 24.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.4401, allocations: 41.83 kB / 0.594 GB, free: 24.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.4404, allocations: 0.4958 MB / 0.5945 GB, free: 24.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.4408, allocations: 352 kB / 0.5948 GB, free: 24.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.4409, allocations: 30.09 kB / 0.5948 GB, free: 23.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.441, allocations: 361.5 kB / 0.5952 GB, free: 23.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.4426, allocations: 0.831 MB / 0.596 GB, free: 23.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.4444, allocations: 1.012 MB / 0.597 GB, free: 22.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.4463, allocations: 0.965 MB / 0.5979 GB, free: 22.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4464, allocations: 1 kB / 0.5979 GB, free: 22.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01514/0.4615, allocations: 5.135 MB / 0.6029 GB, free: 21.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.4617, allocations: 242.4 kB / 0.6032 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4617, allocations: 3 kB / 0.6032 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006566/0.4683, allocations: 1.845 MB / 0.605 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.4702, allocations: 308.8 kB / 0.6053 GB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.4905, allocations: 8.667 MB / 0.6137 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.4926, allocations: 234.8 kB / 0.6139 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4927, allocations: 55.94 kB / 0.614 GB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.4928, allocations: 4 kB / 0.614 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01337/0.5061, allocations: 4.965 MB / 0.6188 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.5062, allocations: 4 kB / 0.6189 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.5119, allocations: 1.847 MB / 0.6207 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.5137, allocations: 295.6 kB / 0.6209 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/0.5319, allocations: 8.663 MB / 0.6294 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.5341, allocations: 206.9 kB / 0.6296 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.5343, allocations: 51.98 kB / 0.6296 GB, free: 14.69 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (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: 0 * Non-linear torn systems: 1 {20 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008003/0.5351, allocations: 377.5 kB / 0.63 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.5354, allocations: 126.4 kB / 0.6301 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.5492, allocations: 4.626 MB / 0.6346 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-05/0.5493, allocations: 12 kB / 0.6347 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.5493, allocations: 4 kB / 0.6347 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/0.5493, allocations: 7.984 kB / 0.6347 GB, free: 9.504 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.0166/0.566, allocations: 6.297 MB / 0.6408 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.566, allocations: 0 / 0.6408 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.5669, allocations: 123.8 kB / 0.6409 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00574/0.5726, allocations: 1.785 MB / 0.6427 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/0.5729, allocations: 27.94 kB / 0.6427 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.5904, allocations: 7.616 MB / 0.6501 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5904, allocations: 0 / 0.6501 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.606, allocations: 5.557 MB / 0.6556 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.6065, allocations: 235.2 kB / 0.6558 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.6067, allocations: 24 kB / 0.6558 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.608, allocations: 139.9 kB / 0.6559 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/0.6085, allocations: 184.6 kB / 0.6561 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.6086, allocations: 24 kB / 0.6561 GB, free: 3.199 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.6097, allocations: 0.7473 MB / 0.6569 GB, free: 2.445 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6097, allocations: 0 / 0.6569 GB, free: 2.445 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002279/0.612, allocations: 0.7609 MB / 0.6576 GB, free: 1.684 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000318/0.6123, allocations: 136.7 kB / 0.6577 GB, free: 1.543 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01258/0.6249, allocations: 4.887 MB / 0.6625 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.625, allocations: 8.062 kB / 0.6625 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004669/0.6297, allocations: 1.665 MB / 0.6642 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6309, allocations: 115.7 kB / 0.6643 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.6354, allocations: 2.831 MB / 0.667 GB, free: 7.926 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.6362, allocations: 1.141 MB / 0.6681 GB, free: 6.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.6366, allocations: 87.34 kB / 0.6682 GB, free: 6.668 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6366, allocations: 4 kB / 0.6682 GB, free: 6.664 MB / 474.7 MB Notification: Performance of Templates: time 0.03294/0.6695, allocations: 22.3 MB / 0.69 GB, free: 360 kB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)