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-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.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.001374/0.001374, 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.943/1.943, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.000865/0.000865, allocations: 87.59 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06201/0.06201, allocations: 14.2 MB / 333.1 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004511, allocations: 15.92 kB / 396.9 MB, free: 62.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 51.12 MB / 448 MB, free: 11.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4691/0.5798, allocations: 78 MB / 0.5137 GB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5801, allocations: 66.91 kB / 0.5138 GB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007656/0.5878, allocations: 2.223 MB / 0.5159 GB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5879, allocations: 4 kB / 0.5159 GB, free: 10.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5879, allocations: 0 / 0.5159 GB, free: 10.53 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000534/0.5884, allocations: 403.6 kB / 0.5163 GB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5885, allocations: 8.031 kB / 0.5163 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.5886, allocations: 16.75 kB / 0.5164 GB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.589, allocations: 245 kB / 0.5166 GB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.589, allocations: 8.188 kB / 0.5166 GB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.5891, allocations: 12.31 kB / 0.5166 GB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.5894, allocations: 140.6 kB / 0.5167 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5894, allocations: 3.938 kB / 0.5167 GB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.5894, allocations: 7.5 kB / 0.5168 GB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5894, allocations: 4 kB / 0.5168 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.5897, allocations: 65.52 kB / 0.5168 GB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.5906, allocations: 0.7619 MB / 0.5176 GB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.5908, allocations: 89.52 kB / 0.5176 GB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5909, allocations: 41.91 kB / 0.5177 GB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.591, allocations: 4 kB / 0.5177 GB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.591, allocations: 38.5 kB / 0.5177 GB, free: 8.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.591, allocations: 0 / 0.5177 GB, free: 8.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005106/0.5915, allocations: 113.6 kB / 0.5178 GB, free: 8.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5916, allocations: 110.8 kB / 0.5179 GB, free: 8.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.5917, allocations: 145 kB / 0.5181 GB, free: 8.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5918, allocations: 25.7 kB / 0.5181 GB, free: 8.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.5918, allocations: 124.8 kB / 0.5182 GB, free: 8.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.5919, allocations: 27.69 kB / 0.5182 GB, free: 8.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5919, allocations: 0 / 0.5182 GB, free: 8.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.592, allocations: 329.1 kB / 0.5186 GB, free: 7.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.5921, allocations: 23.36 kB / 0.5186 GB, free: 7.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.5922, allocations: 75.62 kB / 0.5187 GB, free: 7.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.5925, allocations: 88.23 kB / 0.5187 GB, free: 7.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5925, allocations: 3.938 kB / 0.5187 GB, free: 7.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003077/0.5928, allocations: 117.5 kB / 0.5189 GB, free: 7.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5928, allocations: 8 kB / 0.5189 GB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5928, allocations: 0 / 0.5189 GB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.5929, allocations: 4 kB / 0.5189 GB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.593, allocations: 27.91 kB / 0.5189 GB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5931, allocations: 4 kB / 0.5189 GB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5932, allocations: 19.44 kB / 0.5189 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.5932, allocations: 4 kB / 0.5189 GB, free: 7.395 MB / 330.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 0.000106/0.5933, allocations: 134.5 kB / 0.519 GB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.5934, allocations: 7.906 kB / 0.5191 GB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.5935, allocations: 15.61 kB / 0.5191 GB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5935, allocations: 0 / 0.5191 GB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5935, allocations: 0 / 0.5191 GB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5935, allocations: 4.188 kB / 0.5191 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.5939, allocations: 208.3 kB / 0.5193 GB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5939, allocations: 7.938 kB / 0.5193 GB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.594, allocations: 15.98 kB / 0.5193 GB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.594, allocations: 4 kB / 0.5193 GB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5941, allocations: 3.562 kB / 0.5193 GB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5941, allocations: 0 / 0.5193 GB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5941, allocations: 0 / 0.5193 GB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.5946, allocations: 368.2 kB / 0.5197 GB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.5946, allocations: 85.05 kB / 0.5197 GB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.5946, allocations: 3.438 kB / 0.5197 GB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.5949, allocations: 7.984 kB / 0.5197 GB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.5949, allocations: 8.062 kB / 0.5198 GB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5949, allocations: 4 kB / 0.5198 GB, free: 6.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.484e-05/0.595, allocations: 113.8 kB / 0.5199 GB, free: 6.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.595, allocations: 0 / 0.5199 GB, free: 6.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005411/0.5956, allocations: 22.84 kB / 0.5199 GB, free: 6.371 MB / 330.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.0001312/0.5958, allocations: 103.4 kB / 0.52 GB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.5961, allocations: 73.33 kB / 0.5201 GB, free: 6.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5961, allocations: 0 / 0.5201 GB, free: 6.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.5962, allocations: 33.97 kB / 0.5201 GB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.5969, allocations: 21.92 kB / 0.5201 GB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.5976, allocations: 272.4 kB / 0.5204 GB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.5978, allocations: 0.7128 MB / 0.5211 GB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.5979, allocations: 8.562 kB / 0.5211 GB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.5979, allocations: 19.42 kB / 0.5211 GB, free: 5.102 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5979, allocations: 0 / 0.5211 GB, free: 5.102 MB / 330.7 MB Notification: Performance of Templates: time 0.004199/0.6021, allocations: 0.8633 MB / 0.5219 GB, free: 4.258 MB / 330.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)