Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009194, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 184.4 kB / 291.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5192/0.5192, allocations: 91.92 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004477, allocations: 12.38 kB / 0.5054 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 72.47 MB / 0.5762 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI): time 0.01454/0.3925, allocations: 22.39 MB / 0.598 GB, free: 20.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.4054, allocations: 5.149 MB / 0.6031 GB, free: 16.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005803/0.4112, allocations: 51.72 kB / 0.6031 GB, free: 16.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.4148, allocations: 0.6749 MB / 0.6038 GB, free: 16.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008872/0.4237, allocations: 1.712 MB / 0.6054 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005977/0.4297, allocations: 1.935 MB / 0.6073 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009359/0.4391, allocations: 5.399 MB / 0.6126 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.4423, allocations: 1.128 MB / 0.6137 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004632/0.447, allocations: 2.038 MB / 0.6157 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005473/0.4525, allocations: 2.68 MB / 0.6183 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.4549, allocations: 233.2 kB / 0.6185 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.4583, allocations: 371.5 kB / 0.6189 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.4608, allocations: 0.9353 MB / 0.6198 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006294/0.4671, allocations: 2.386 MB / 0.6221 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4774, allocations: 4.618 MB / 0.6267 GB, free: 4.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4774, allocations: 1.375 kB / 0.6267 GB, free: 4.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4774, allocations: 0 / 0.6267 GB, free: 4.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004013/0.4778, allocations: 0 / 0.6267 GB, free: 4.93 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.03648/0.5143, allocations: 8.375 MB / 0.6348 GB, free: 1.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.5144, allocations: 8.781 kB / 0.6348 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/0.5427, allocations: 4.058 MB / 0.6388 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008278/0.551, allocations: 2.639 MB / 0.6414 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/0.5524, allocations: 0.9673 MB / 0.6423 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.5544, allocations: 344 kB / 0.6427 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.5714, allocations: 4.997 MB / 0.6475 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.5716, allocations: 7.875 kB / 0.6475 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/0.573, allocations: 144 kB / 0.6477 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-05/0.5731, allocations: 84 kB / 0.6478 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.5859, allocations: 4.525 MB / 0.6522 GB, free: 15.59 MB / 462.1 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.04171/0.6276, allocations: 18.87 MB / 0.6706 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/0.6418, allocations: 5.723 MB / 0.6762 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006477/0.6483, allocations: 3.056 MB / 0.6792 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.6489, allocations: 66.91 kB / 0.6792 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.071e-05/0.649, allocations: 73.55 kB / 0.6793 GB, free: 2.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=380): time 5.801e-06/0.649, allocations: 4 kB / 0.6793 GB, free: 2.516 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.3279/0.9768, allocations: 79.61 MB / 0.7571 GB, free: 2.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.977, allocations: 167.5 kB / 0.7572 GB, free: 2.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006819/0.9838, allocations: 3.206 MB / 0.7603 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/0.985, allocations: 93.7 kB / 0.7604 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.9866, allocations: 1.962 MB / 0.7624 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/0.9885, allocations: 1.294 MB / 0.7636 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.9891, allocations: 342.6 kB / 0.7639 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9892, allocations: 305.1 kB / 0.7642 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/0.9953, allocations: 2.843 MB / 0.767 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/1.002, allocations: 3.471 MB / 0.7704 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3739/1.376, allocations: 20.66 MB / 0.7906 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/1.376, allocations: 4.25 kB / 0.7906 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=528) (initialization): time 0.06468/1.441, allocations: 21.01 MB / 0.8111 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004568/1.441, allocations: 0.592 MB / 0.8117 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/1.441, allocations: 11.53 kB / 0.8117 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02655/1.468, allocations: 8.49 MB / 0.82 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/1.471, allocations: 0.6523 MB / 0.8206 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08298/1.554, allocations: 34.91 MB / 0.8547 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007017/1.561, allocations: 0.747 MB / 0.8554 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.562, allocations: 148 kB / 0.8556 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.562, allocations: 4 kB / 0.8556 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05609/1.618, allocations: 20.57 MB / 0.8757 GB, free: 95.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-05/1.619, allocations: 16 kB / 0.8757 GB, free: 95.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02591/1.644, allocations: 8.485 MB / 0.884 GB, free: 86.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/1.648, allocations: 0.6436 MB / 0.8846 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08216/1.73, allocations: 34.9 MB / 0.9187 GB, free: 50.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007/1.737, allocations: 0.7054 MB / 0.9194 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.738, allocations: 154.5 kB / 0.9195 GB, free: 50.16 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (393): * Single equations (assignments): 390 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002461/1.741, allocations: 0.7489 MB / 0.9202 GB, free: 49.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.742, allocations: 454.4 kB / 0.9207 GB, free: 48.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05667/1.799, allocations: 20.51 MB / 0.9407 GB, free: 28.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.799, allocations: 36 kB / 0.9407 GB, free: 28.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.751e-05/1.799, allocations: 28 kB / 0.9408 GB, free: 28.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000123/1.799, allocations: 23.86 kB / 0.9408 GB, free: 28.29 MB / 0.5606 GB 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.06611/1.865, allocations: 25.81 MB / 0.966 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.865, allocations: 0 / 0.966 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.868, allocations: 407.5 kB / 0.9664 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02695/1.895, allocations: 8.59 MB / 0.9748 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007117/1.895, allocations: 75.98 kB / 0.9749 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4072/2.302, allocations: 30.65 MB / 1.005 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/2.303, allocations: 2.531 kB / 1.005 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07185/2.374, allocations: 24.15 MB / 1.028 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/2.376, allocations: 0.5617 MB / 1.029 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001865/2.378, allocations: 67.81 kB / 1.029 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005838/2.384, allocations: 0.4959 MB / 1.029 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003417/2.388, allocations: 0.7606 MB / 1.03 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005372/2.388, allocations: 99.05 kB / 1.03 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003189/2.391, allocations: 2.101 MB / 1.032 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/2.391, allocations: 0 / 1.032 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01107/2.402, allocations: 2.952 MB / 1.035 GB, free: 172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008167/2.403, allocations: 196 kB / 1.035 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04709/2.45, allocations: 17.68 MB / 1.053 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/2.45, allocations: 0 / 1.053 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02105/2.471, allocations: 6.889 MB / 1.059 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006602/2.478, allocations: 381.7 kB / 1.06 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/2.493, allocations: 9.961 MB / 1.07 GB, free: 147 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/2.495, allocations: 2.498 MB / 1.072 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/2.496, allocations: 262.2 kB / 1.072 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/2.496, allocations: 0 / 1.072 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1008/2.597, allocations: 83.21 MB / 1.153 GB, free: 64.92 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)