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.008242/0.008242, allocations: 172.1 kB / 15.12 MB, free: 5.555 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.31/1.31, allocations: 223.2 MB / 239 MB, free: 1.77 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.000797/0.000797, allocations: 87.34 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4257/0.4257, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3001, allocations: 69.35 MB / 0.5558 GB, free: 38.96 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.004893/0.305, allocations: 5.688 MB / 0.5613 GB, free: 37.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.3087, allocations: 1.993 MB / 0.5633 GB, free: 36.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.3097, allocations: 11.34 kB / 0.5633 GB, free: 36.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.3103, allocations: 170.8 kB / 0.5634 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.3121, allocations: 0.7259 MB / 0.5641 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3135, allocations: 0.5453 MB / 0.5647 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.3151, allocations: 1.001 MB / 0.5657 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.3155, allocations: 252.2 kB / 0.5659 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007609/0.3162, allocations: 0.5608 MB / 0.5664 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007633/0.317, allocations: 0.7346 MB / 0.5672 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.3172, allocations: 61.56 kB / 0.5672 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.3176, allocations: 174.6 kB / 0.5674 GB, free: 34.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.3179, allocations: 273 kB / 0.5677 GB, free: 34.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.318, allocations: 230.5 kB / 0.5679 GB, free: 34.13 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008758/0.3189, allocations: 1.213 MB / 0.5691 GB, free: 33.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3189, allocations: 0 / 0.5691 GB, free: 33.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3189, allocations: 3.938 kB / 0.5691 GB, free: 33.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.319, allocations: 3.938 kB / 0.5691 GB, free: 33.77 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.007897/0.3269, allocations: 2.543 MB / 0.5715 GB, free: 32.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3269, allocations: 15.75 kB / 0.5716 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.3317, allocations: 0.7797 MB / 0.5723 GB, free: 32.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3333, allocations: 0.8722 MB / 0.5732 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.3335, allocations: 243.5 kB / 0.5734 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.3337, allocations: 76.62 kB / 0.5735 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.3357, allocations: 1.165 MB / 0.5746 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3357, allocations: 0 / 0.5746 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.3358, allocations: 32.22 kB / 0.5746 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.3358, allocations: 23.48 kB / 0.5747 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.3378, allocations: 1.071 MB / 0.5757 GB, free: 30.91 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.006394/0.3442, allocations: 4.213 MB / 0.5798 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/0.3515, allocations: 2.902 MB / 0.5827 GB, free: 27.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.3517, allocations: 20.36 kB / 0.5827 GB, free: 27.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3517, allocations: 49.3 kB / 0.5827 GB, free: 27.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=94): time 3.407e-06/0.3517, allocations: 0 / 0.5827 GB, free: 27.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.02788/0.3796, allocations: 8.214 MB / 0.5908 GB, free: 26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.3797, allocations: 143.6 kB / 0.5909 GB, free: 25.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.3815, allocations: 1.113 MB / 0.592 GB, free: 25.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.3817, allocations: 45.83 kB / 0.592 GB, free: 25.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.382, allocations: 0.4911 MB / 0.5925 GB, free: 24.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.3824, allocations: 349.1 kB / 0.5928 GB, free: 24.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.3825, allocations: 29.22 kB / 0.5929 GB, free: 24.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.3825, allocations: 366.9 kB / 0.5932 GB, free: 24.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.3841, allocations: 0.8294 MB / 0.594 GB, free: 24.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.3858, allocations: 1.007 MB / 0.595 GB, free: 23.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3876, allocations: 0.9735 MB / 0.596 GB, free: 23.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3876, allocations: 1.219 kB / 0.596 GB, free: 23.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01462/0.4023, allocations: 5.123 MB / 0.601 GB, free: 21.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.4025, allocations: 1.201 MB / 0.6021 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4025, allocations: 2.594 kB / 0.6021 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/0.4089, allocations: 1.853 MB / 0.6039 GB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.4106, allocations: 301 kB / 0.6042 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/0.4309, allocations: 9.088 MB / 0.6131 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.4329, allocations: 226.7 kB / 0.6133 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.433, allocations: 60.14 kB / 0.6134 GB, free: 14.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4331, allocations: 5.672 kB / 0.6134 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01266/0.4457, allocations: 4.969 MB / 0.6182 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.4458, allocations: 4 kB / 0.6182 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/0.4512, allocations: 1.848 MB / 0.62 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.4528, allocations: 295.6 kB / 0.6203 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.4712, allocations: 9.061 MB / 0.6292 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.4731, allocations: 210.9 kB / 0.6294 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.4732, allocations: 55.97 kB / 0.6294 GB, free: 14.11 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.0006548/0.4739, allocations: 386.4 kB / 0.6298 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.4741, allocations: 126.4 kB / 0.6299 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.4873, allocations: 4.63 MB / 0.6344 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4874, allocations: 8 kB / 0.6344 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4874, allocations: 8 kB / 0.6345 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/0.4874, allocations: 3.984 kB / 0.6345 GB, free: 8.914 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.01531/0.5027, allocations: 6.355 MB / 0.6407 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.5028, allocations: 0 / 0.6407 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.5036, allocations: 111.9 kB / 0.6408 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005489/0.5091, allocations: 1.797 MB / 0.6425 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.5092, allocations: 16 kB / 0.6425 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.5268, allocations: 8.024 MB / 0.6504 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5269, allocations: 0 / 0.6504 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.5418, allocations: 5.579 MB / 0.6558 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.5423, allocations: 223.2 kB / 0.656 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.5425, allocations: 31.98 kB / 0.6561 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.5437, allocations: 135.9 kB / 0.6562 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004792/0.5442, allocations: 172.7 kB / 0.6564 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.5442, allocations: 35.97 kB / 0.6564 GB, free: 2.121 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.5453, allocations: 0.7434 MB / 0.6571 GB, free: 1.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5453, allocations: 0 / 0.6571 GB, free: 1.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002018/0.5474, allocations: 0.7648 MB / 0.6579 GB, free: 0.6055 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.0002795/0.5477, allocations: 143.2 kB / 0.658 GB, free: 468 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0114/0.5591, allocations: 4.894 MB / 0.6628 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5591, allocations: 0 / 0.6628 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004331/0.5635, allocations: 1.666 MB / 0.6644 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.0007506/0.5642, allocations: 100.5 kB / 0.6645 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.5682, allocations: 2.811 MB / 0.6673 GB, free: 6.883 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.5688, allocations: 1.172 MB / 0.6684 GB, free: 5.684 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006808/0.5695, allocations: 163.8 kB / 0.6686 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.5698, allocations: 75.42 kB / 0.6686 GB, free: 5.445 MB / 474.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5698, allocations: 0 / 0.6686 GB, free: 5.445 MB / 474.7 MB Notification: Performance of Templates: time 0.03861/0.6084, allocations: 27.16 MB / 0.6952 GB, free: 10.27 MB / 0.4948 GB 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)