Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009276/0.0009276, allocations: 172.1 kB / 16.12 MB, free: 5.695 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.574/1.574, allocations: 205.4 MB / 222.3 MB, free: 9.039 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.0008113/0.0008112, allocations: 89.05 kB / 270.6 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06183/0.06183, allocations: 14.2 MB / 333.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004594, allocations: 19.94 kB / 396.9 MB, free: 62.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 51.11 MB / 448 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5471, allocations: 77.8 MB / 0.5135 GB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5474, allocations: 68.2 kB / 0.5136 GB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005882/0.5533, allocations: 2.27 MB / 0.5158 GB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5533, allocations: 0 / 0.5158 GB, free: 10.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.5534, allocations: 8 kB / 0.5158 GB, free: 10.67 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005386/0.5539, allocations: 418.1 kB / 0.5162 GB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.554, allocations: 8.031 kB / 0.5162 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.554, allocations: 16.75 kB / 0.5162 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.5544, allocations: 241.6 kB / 0.5164 GB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5544, allocations: 9.062 kB / 0.5165 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.5545, allocations: 4.375 kB / 0.5165 GB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.5547, allocations: 124.3 kB / 0.5166 GB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5547, allocations: 7.938 kB / 0.5166 GB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5547, allocations: 3.438 kB / 0.5166 GB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5548, allocations: 4 kB / 0.5166 GB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.5549, allocations: 71.52 kB / 0.5167 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.5556, allocations: 0.5989 MB / 0.5172 GB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.5559, allocations: 126.1 kB / 0.5174 GB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.556, allocations: 45.56 kB / 0.5174 GB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.556, allocations: 7.984 kB / 0.5174 GB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.5561, allocations: 38.5 kB / 0.5175 GB, free: 8.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.5561, allocations: 0 / 0.5175 GB, free: 8.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003788/0.5565, allocations: 127.1 kB / 0.5176 GB, free: 8.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.5565, allocations: 102.8 kB / 0.5177 GB, free: 8.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5566, allocations: 154.1 kB / 0.5178 GB, free: 8.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5566, allocations: 28.33 kB / 0.5178 GB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.5567, allocations: 118 kB / 0.518 GB, free: 8.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.5567, allocations: 27.14 kB / 0.518 GB, free: 8.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.5567, allocations: 0 / 0.518 GB, free: 8.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.5568, allocations: 318.2 kB / 0.5183 GB, free: 8.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.471e-05/0.5569, allocations: 26.8 kB / 0.5183 GB, free: 8.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.557, allocations: 63.02 kB / 0.5184 GB, free: 7.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.5571, allocations: 91.19 kB / 0.5185 GB, free: 7.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5572, allocations: 3.938 kB / 0.5185 GB, free: 7.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003493/0.5575, allocations: 136.6 kB / 0.5186 GB, free: 7.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5575, allocations: 8 kB / 0.5186 GB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5576, allocations: 96 / 0.5186 GB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.5578, allocations: 44.44 kB / 0.5186 GB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.5579, allocations: 19.86 kB / 0.5187 GB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008487/0.5587, allocations: 1.35 MB / 0.52 GB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.5588, allocations: 19.8 kB / 0.52 GB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5589, allocations: 4 kB / 0.52 GB, free: 6.262 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.559, allocations: 125.7 kB / 0.5201 GB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.559, allocations: 11.97 kB / 0.5201 GB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.559, allocations: 16.17 kB / 0.5202 GB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5591, allocations: 0 / 0.5202 GB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.5591, allocations: 3.938 kB / 0.5202 GB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5591, allocations: 4.312 kB / 0.5202 GB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.5593, allocations: 206.7 kB / 0.5204 GB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5593, allocations: 8 kB / 0.5204 GB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.5594, allocations: 19.92 kB / 0.5204 GB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5595, allocations: 0 / 0.5204 GB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5595, allocations: 7.688 kB / 0.5204 GB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5595, allocations: 7.938 kB / 0.5204 GB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5595, allocations: 3.938 kB / 0.5204 GB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.5598, allocations: 374.9 kB / 0.5208 GB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.5599, allocations: 81.02 kB / 0.5208 GB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5599, allocations: 4 kB / 0.5208 GB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.56, allocations: 11.73 kB / 0.5209 GB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.5601, allocations: 8.078 kB / 0.5209 GB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5601, allocations: 0 / 0.5209 GB, free: 5.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.5602, allocations: 118.2 kB / 0.521 GB, free: 5.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5602, allocations: 0 / 0.521 GB, free: 5.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000318/0.5605, allocations: 35.28 kB / 0.521 GB, free: 5.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * 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 (7): * Single equations (assignments): 7 * 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 0.0001312/0.5606, allocations: 106.6 kB / 0.5211 GB, free: 5.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.5611, allocations: 196.3 kB / 0.5213 GB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5611, allocations: 4.125 kB / 0.5213 GB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.5612, allocations: 39.17 kB / 0.5213 GB, free: 4.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.5617, allocations: 27.28 kB / 0.5214 GB, free: 4.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.5623, allocations: 284.4 kB / 0.5216 GB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.5625, allocations: 0.705 MB / 0.5223 GB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.773e-05/0.5626, allocations: 12.56 kB / 0.5223 GB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.5626, allocations: 11.44 kB / 0.5223 GB, free: 3.816 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5626, allocations: 0 / 0.5223 GB, free: 3.816 MB / 330.7 MB Notification: Performance of Templates: time 0.003669/0.5663, allocations: 1.138 MB / 0.5235 GB, free: 2.707 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1)