Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008188/0.0008188, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 239 MB, free: 5.445 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.0009581/0.0009582, allocations: 180.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4905/0.4905, allocations: 91.92 MB / 433.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.0005231, allocations: 8 kB / 0.5042 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3571, allocations: 72.48 MB / 0.5749 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004367/0.3615, allocations: 6.021 MB / 0.5808 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.3644, allocations: 1.913 MB / 0.5827 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.3648, allocations: 11.38 kB / 0.5827 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.3654, allocations: 170.8 kB / 0.5829 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3667, allocations: 0.6664 MB / 0.5835 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.3676, allocations: 0.5153 MB / 0.584 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3687, allocations: 1.414 MB / 0.5854 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.3691, allocations: 260.3 kB / 0.5856 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/0.3696, allocations: 0.5566 MB / 0.5862 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.3702, allocations: 0.726 MB / 0.5869 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3703, allocations: 60.69 kB / 0.587 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.3707, allocations: 178.1 kB / 0.5871 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3709, allocations: 250.9 kB / 0.5874 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.371, allocations: 233.9 kB / 0.5876 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007895/0.3718, allocations: 1.225 MB / 0.5888 GB, free: 28.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3719, allocations: 0 / 0.5888 GB, free: 28.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3719, allocations: 1.094 kB / 0.5888 GB, free: 28.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3719, allocations: 0 / 0.5888 GB, free: 28.9 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007025/0.3789, allocations: 2.506 MB / 0.5912 GB, free: 27.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.379, allocations: 13.19 kB / 0.5912 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.3836, allocations: 0.7843 MB / 0.592 GB, free: 27.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3849, allocations: 0.8416 MB / 0.5928 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.3851, allocations: 266.3 kB / 0.5931 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3853, allocations: 82.22 kB / 0.5932 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3872, allocations: 1.149 MB / 0.5943 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3872, allocations: 0 / 0.5943 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.3873, allocations: 30.69 kB / 0.5943 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.3874, allocations: 22.89 kB / 0.5943 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3892, allocations: 1.046 MB / 0.5954 GB, free: 26.02 MB / 430.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.006006/0.3953, allocations: 3.928 MB / 0.5992 GB, free: 23.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007054/0.4023, allocations: 2.911 MB / 0.602 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.4037, allocations: 0.7409 MB / 0.6028 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.4038, allocations: 24.55 kB / 0.6028 GB, free: 22.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.4054, allocations: 0.87 MB / 0.6036 GB, free: 22.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.4055, allocations: 0 / 0.6036 GB, free: 22.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02744/0.4329, allocations: 8.644 MB / 0.6121 GB, free: 20.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.433, allocations: 118.2 kB / 0.6122 GB, free: 20.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.4348, allocations: 1.068 MB / 0.6132 GB, free: 20.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.435, allocations: 42.95 kB / 0.6133 GB, free: 20.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.4353, allocations: 493.8 kB / 0.6137 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.4357, allocations: 360.9 kB / 0.6141 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.4359, allocations: 30.84 kB / 0.6141 GB, free: 19.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.436, allocations: 365.3 kB / 0.6145 GB, free: 19.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.4377, allocations: 0.8217 MB / 0.6153 GB, free: 18.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.4395, allocations: 0.9944 MB / 0.6162 GB, free: 18.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.4412, allocations: 0.9552 MB / 0.6172 GB, free: 17.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.4412, allocations: 1.062 kB / 0.6172 GB, free: 17.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01188/0.4531, allocations: 5.161 MB / 0.6222 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.4532, allocations: 67.39 kB / 0.6223 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.4532, allocations: 4 kB / 0.6223 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.4585, allocations: 1.897 MB / 0.6241 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4598, allocations: 295.6 kB / 0.6244 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.4763, allocations: 9.014 MB / 0.6332 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.478, allocations: 234.7 kB / 0.6334 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.4782, allocations: 55.97 kB / 0.6335 GB, free: 1.312 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005286/0.4787, allocations: 307.8 kB / 0.6338 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.479, allocations: 122.5 kB / 0.6339 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.4912, allocations: 4.713 MB / 0.6385 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.4912, allocations: 12 kB / 0.6385 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.4912, allocations: 7.984 kB / 0.6385 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.4913, allocations: 11.94 kB / 0.6385 GB, free: 12.1 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01456/0.5058, allocations: 6.305 MB / 0.6447 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5059, allocations: 0 / 0.6447 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.5064, allocations: 99.89 kB / 0.6448 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005396/0.5118, allocations: 1.88 MB / 0.6466 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.512, allocations: 19.98 kB / 0.6466 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.5307, allocations: 9.664 MB / 0.6561 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5307, allocations: 7.969 kB / 0.6561 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.545, allocations: 5.635 MB / 0.6616 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004674/0.5455, allocations: 227.3 kB / 0.6618 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/0.5459, allocations: 16 kB / 0.6618 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.5471, allocations: 143.9 kB / 0.662 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/0.5476, allocations: 200.7 kB / 0.6622 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.426e-05/0.5477, allocations: 28 kB / 0.6622 GB, free: 3.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.5489, allocations: 0.7237 MB / 0.6629 GB, free: 2.699 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.5489, allocations: 0 / 0.6629 GB, free: 2.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001511/0.5504, allocations: 483.4 kB / 0.6633 GB, free: 2.227 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002719/0.5507, allocations: 132 kB / 0.6635 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00616/0.5568, allocations: 2.778 MB / 0.6662 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5569, allocations: 0 / 0.6662 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00411/0.561, allocations: 1.804 MB / 0.6679 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5621, allocations: 116.5 kB / 0.6681 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.5662, allocations: 2.645 MB / 0.6706 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.5669, allocations: 1.124 MB / 0.6717 GB, free: 9.492 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004893/0.5674, allocations: 120 kB / 0.6719 GB, free: 9.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5677, allocations: 75.42 kB / 0.6719 GB, free: 9.297 MB / 478.1 MB Notification: Performance of SimCode: time 3.116e-06/0.5677, allocations: 0 / 0.6719 GB, free: 9.297 MB / 478.1 MB Notification: Performance of Templates: time 0.03332/0.601, allocations: 21.29 MB / 0.6927 GB, free: 4.043 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)