Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001831/0.001831, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 222.3 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 98.23 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06055/0.06055, allocations: 14.2 MB / 333.1 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 12.22 kB / 394.9 MB, free: 64.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09156, allocations: 51.12 MB / 446 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.417, allocations: 76.22 MB / 0.51 GB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4173, allocations: 67.84 kB / 0.51 GB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002911/0.4202, allocations: 1.212 MB / 0.5112 GB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4202, allocations: 3.938 kB / 0.5112 GB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.4202, allocations: 7.75 kB / 0.5112 GB, free: 12.79 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001537/0.4204, allocations: 326.9 kB / 0.5115 GB, free: 12.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4204, allocations: 7.844 kB / 0.5115 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.4204, allocations: 4.875 kB / 0.5116 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.449e-05/0.4205, allocations: 160.4 kB / 0.5117 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.4205, allocations: 384 / 0.5117 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.4205, allocations: 4.219 kB / 0.5117 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.4206, allocations: 43.14 kB / 0.5118 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4206, allocations: 192 / 0.5118 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.4206, allocations: 7.938 kB / 0.5118 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4206, allocations: 0 / 0.5118 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.4207, allocations: 7.922 kB / 0.5118 GB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.4209, allocations: 463.2 kB / 0.5122 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.4209, allocations: 177.1 kB / 0.5124 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.421, allocations: 87.7 kB / 0.5125 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.421, allocations: 79.27 kB / 0.5125 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.421, allocations: 105.8 kB / 0.5126 GB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.421, allocations: 0 / 0.5126 GB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.399e-05/0.4211, allocations: 29.64 kB / 0.5127 GB, free: 11.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.4211, allocations: 126.7 kB / 0.5128 GB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.4212, allocations: 101.4 kB / 0.5129 GB, free: 10.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-06/0.4212, allocations: 25.7 kB / 0.5129 GB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.4212, allocations: 84.05 kB / 0.513 GB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.4212, allocations: 3.984 kB / 0.513 GB, free: 10.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-06/0.4212, allocations: 0 / 0.513 GB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.4213, allocations: 310.8 kB / 0.5133 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.4213, allocations: 7.812 kB / 0.5133 GB, free: 10.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.4213, allocations: 17.78 kB / 0.5133 GB, free: 10.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.4213, allocations: 13.56 kB / 0.5133 GB, free: 10.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4213, allocations: 3.938 kB / 0.5133 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.461e-05/0.4214, allocations: 44.38 kB / 0.5134 GB, free: 10.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4214, allocations: 7.719 kB / 0.5134 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4214, allocations: 0 / 0.5134 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4214, allocations: 4.125 kB / 0.5134 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.4215, allocations: 3.844 kB / 0.5134 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4215, allocations: 0 / 0.5134 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.4215, allocations: 3.906 kB / 0.5134 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.4215, allocations: 3.75 kB / 0.5134 GB, free: 10.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.4216, allocations: 189 kB / 0.5136 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.4216, allocations: 108.9 kB / 0.5137 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.4217, allocations: 115.9 kB / 0.5138 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.4217, allocations: 184.2 kB / 0.514 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.4217, allocations: 180.2 kB / 0.5141 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.4217, allocations: 176.5 kB / 0.5143 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.4218, allocations: 416.2 kB / 0.5147 GB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.4219, allocations: 101 kB / 0.5148 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.4219, allocations: 108.2 kB / 0.5149 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/0.4219, allocations: 184 kB / 0.5151 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4219, allocations: 176.3 kB / 0.5152 GB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-05/0.422, allocations: 187.5 kB / 0.5154 GB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/0.422, allocations: 176.3 kB / 0.5156 GB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.494e-05/0.422, allocations: 311.2 kB / 0.5159 GB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.4221, allocations: 185.9 kB / 0.5161 GB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.4221, allocations: 181.1 kB / 0.5162 GB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.4222, allocations: 101 kB / 0.5163 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.4222, allocations: 180.2 kB / 0.5165 GB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4222, allocations: 108.8 kB / 0.5166 GB, free: 6.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.4222, allocations: 82.27 kB / 0.5167 GB, free: 6.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4222, allocations: 0 / 0.5167 GB, free: 6.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.4225, allocations: 3.844 kB / 0.5167 GB, free: 6.859 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.903e-05/0.4225, allocations: 162.2 kB / 0.5168 GB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.06e-05/0.4226, allocations: 7.781 kB / 0.5169 GB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4226, allocations: 4.062 kB / 0.5169 GB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4226, allocations: 4 kB / 0.5169 GB, free: 6.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.4229, allocations: 0.5222 MB / 0.5174 GB, free: 6.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001404/0.423, allocations: 154.3 kB / 0.5175 GB, free: 5.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.4231, allocations: 0.6765 MB / 0.5182 GB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.4231, allocations: 4 kB / 0.5182 GB, free: 5.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.4232, allocations: 7.438 kB / 0.5182 GB, free: 5.281 MB / 330.7 MB Notification: Performance of SimCode: time 2e-07/0.4232, allocations: 0 / 0.5182 GB, free: 5.281 MB / 330.7 MB Notification: Performance of Templates: time 0.001446/0.4246, allocations: 166.3 kB / 0.5183 GB, free: 5.207 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)