Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.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/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005967/0.005967, allocations: 172 kB / 15.11 MB, free: 5.98 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.46/1.46, allocations: 205.4 MB / 221.2 MB, free: 13.82 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.0009526/0.0009525, allocations: 90.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0587/0.0587, allocations: 14.16 MB / 332 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 7.938 kB / 395.6 MB, free: 50.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 51.13 MB / 446.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.2201, allocations: 77.97 MB / 0.5124 GB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.2205, allocations: 67.97 kB / 0.5125 GB, free: 6.723 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006186/0.2267, allocations: 2.212 MB / 0.5146 GB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2267, allocations: 0 / 0.5146 GB, free: 4.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.2267, allocations: 7.938 kB / 0.5146 GB, free: 4.484 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005759/0.2273, allocations: 415 kB / 0.515 GB, free: 4.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2273, allocations: 12.02 kB / 0.5151 GB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.2274, allocations: 15.81 kB / 0.5151 GB, free: 4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.2278, allocations: 231 kB / 0.5153 GB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2278, allocations: 12.14 kB / 0.5153 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.2279, allocations: 12 kB / 0.5153 GB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.2281, allocations: 135.2 kB / 0.5154 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2281, allocations: 7.875 kB / 0.5154 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2282, allocations: 4 kB / 0.5154 GB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.2282, allocations: 0 / 0.5154 GB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2284, allocations: 71.89 kB / 0.5155 GB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.2292, allocations: 0.7501 MB / 0.5162 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2294, allocations: 89.73 kB / 0.5163 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2295, allocations: 7.984 kB / 0.5163 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2295, allocations: 42.45 kB / 0.5164 GB, free: 2.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.2295, allocations: 0 / 0.5164 GB, free: 2.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004315/0.23, allocations: 121.9 kB / 0.5165 GB, free: 2.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.23, allocations: 102.8 kB / 0.5166 GB, free: 2.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2302, allocations: 136.5 kB / 0.5167 GB, free: 2.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2302, allocations: 25.7 kB / 0.5168 GB, free: 2.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.2303, allocations: 115.9 kB / 0.5169 GB, free: 1.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2303, allocations: 27.62 kB / 0.5169 GB, free: 1.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.2303, allocations: 0 / 0.5169 GB, free: 1.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2304, allocations: 326.9 kB / 0.5172 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.2305, allocations: 23.98 kB / 0.5172 GB, free: 1.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2307, allocations: 70.8 kB / 0.5173 GB, free: 1.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/0.2308, allocations: 32.02 kB / 0.5173 GB, free: 1.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2308, allocations: 4.219 kB / 0.5173 GB, free: 1.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002475/0.231, allocations: 117.5 kB / 0.5174 GB, free: 1.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2311, allocations: 7.938 kB / 0.5174 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2311, allocations: 7.953 kB / 0.5175 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2311, allocations: 0 / 0.5175 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2312, allocations: 35.98 kB / 0.5175 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2312, allocations: 0 / 0.5175 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.2313, allocations: 15.89 kB / 0.5175 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.2314, allocations: 4 kB / 0.5175 GB, free: 1.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.347e-05/0.2315, allocations: 121.9 kB / 0.5176 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.2315, allocations: 11.91 kB / 0.5176 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.2316, allocations: 8.25 kB / 0.5176 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2316, allocations: 7.953 kB / 0.5176 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2316, allocations: 0 / 0.5176 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2316, allocations: 3.984 kB / 0.5177 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.2319, allocations: 201.6 kB / 0.5178 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2319, allocations: 192 / 0.5178 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.232, allocations: 19.94 kB / 0.5179 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.232, allocations: 3.938 kB / 0.5179 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.232, allocations: 7.984 kB / 0.5179 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2321, allocations: 0 / 0.5179 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2321, allocations: 3.953 kB / 0.5179 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.2325, allocations: 385.4 kB / 0.5182 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.2326, allocations: 100.8 kB / 0.5183 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2326, allocations: 0 / 0.5183 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2327, allocations: 4 kB / 0.5183 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.2328, allocations: 12.05 kB / 0.5184 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2328, allocations: 4 kB / 0.5184 GB, free: 264 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.2329, allocations: 112.5 kB / 0.5185 GB, free: 152 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2329, allocations: 0 / 0.5185 GB, free: 152 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.2332, allocations: 20 kB / 0.5185 GB, free: 132 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.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 (6): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.2333, allocations: 103.1 kB / 0.5186 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.1782/0.4116, allocations: 64.62 kB / 0.5186 GB, free: 83.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4116, allocations: 0 / 0.5186 GB, free: 83.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4117, allocations: 25.14 kB / 0.5187 GB, free: 83.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.4122, allocations: 23.22 kB / 0.5187 GB, free: 83.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.4128, allocations: 276.4 kB / 0.519 GB, free: 82.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4129, allocations: 0.7108 MB / 0.5197 GB, free: 82.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.413, allocations: 12.52 kB / 0.5197 GB, free: 82.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.413, allocations: 12.69 kB / 0.5197 GB, free: 82.25 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.413, allocations: 2.625 kB / 0.5197 GB, free: 82.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003029/0.4161, allocations: 0.8453 MB / 0.5205 GB, free: 82.22 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)