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.001392/0.001392, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.276/1.276, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008191/0.0008191, allocations: 92 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05705/0.05705, allocations: 14.01 MB / 328.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.485e-05, allocations: 0 / 389.1 MB, free: 66.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06828/0.06832, allocations: 51.12 MB / 440.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/0.3335, allocations: 77.87 MB / 0.506 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.3337, allocations: 66.59 kB / 0.506 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005521/0.3392, allocations: 2.216 MB / 0.5082 GB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3392, allocations: 0 / 0.5082 GB, free: 11.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3392, allocations: 3.969 kB / 0.5082 GB, free: 11.48 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.0002809/0.3395, allocations: 392.6 kB / 0.5086 GB, free: 11.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3396, allocations: 7.781 kB / 0.5086 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3396, allocations: 17.42 kB / 0.5086 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.3399, allocations: 235.9 kB / 0.5088 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3399, allocations: 11.64 kB / 0.5088 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.34, allocations: 14.94 kB / 0.5088 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3401, allocations: 123.3 kB / 0.509 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3401, allocations: 4 kB / 0.509 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3402, allocations: 7.594 kB / 0.509 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3402, allocations: 0 / 0.509 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.3402, allocations: 46.53 kB / 0.509 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.3408, allocations: 0.7611 MB / 0.5098 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.3409, allocations: 81.83 kB / 0.5098 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.341, allocations: 26.17 kB / 0.5099 GB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.341, allocations: 11.8 kB / 0.5099 GB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.341, allocations: 34.5 kB / 0.5099 GB, free: 9.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.341, allocations: 0 / 0.5099 GB, free: 9.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001864/0.3412, allocations: 80.27 kB / 0.51 GB, free: 9.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.3412, allocations: 102.8 kB / 0.5101 GB, free: 9.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.3413, allocations: 135.1 kB / 0.5102 GB, free: 9.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3413, allocations: 25.7 kB / 0.5102 GB, free: 9.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.3414, allocations: 123.4 kB / 0.5104 GB, free: 9.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3414, allocations: 23.45 kB / 0.5104 GB, free: 9.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.3414, allocations: 0 / 0.5104 GB, free: 9.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.3415, allocations: 326.7 kB / 0.5107 GB, free: 9.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.3415, allocations: 14.66 kB / 0.5107 GB, free: 9.156 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.3415, allocations: 66.55 kB / 0.5108 GB, free: 9.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.3416, allocations: 23.23 kB / 0.5108 GB, free: 9.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3416, allocations: 3.812 kB / 0.5108 GB, free: 9.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001201/0.3417, allocations: 94.72 kB / 0.5109 GB, free: 9.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3417, allocations: 7.953 kB / 0.5109 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3418, allocations: 3.75 kB / 0.5109 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3418, allocations: 3.938 kB / 0.5109 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3419, allocations: 35.25 kB / 0.5109 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3419, allocations: 0 / 0.5109 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.342, allocations: 15.72 kB / 0.5109 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.342, allocations: 7.594 kB / 0.511 GB, free: 9.004 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 () * 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 4.215e-05/0.3421, allocations: 104.8 kB / 0.5111 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3421, allocations: 7.781 kB / 0.5111 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.3422, allocations: 23.69 kB / 0.5111 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3422, allocations: 4 kB / 0.5111 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3422, allocations: 3.969 kB / 0.5111 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3422, allocations: 0 / 0.5111 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.3424, allocations: 199.7 kB / 0.5113 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3424, allocations: 0 / 0.5113 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.3425, allocations: 27.39 kB / 0.5113 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3426, allocations: 0 / 0.5113 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3426, allocations: 0 / 0.5113 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3426, allocations: 7.797 kB / 0.5113 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3426, allocations: 0 / 0.5113 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3428, allocations: 350.9 kB / 0.5116 GB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.3428, allocations: 92.48 kB / 0.5117 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3428, allocations: 3.812 kB / 0.5117 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.343, allocations: 3.719 kB / 0.5117 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.343, allocations: 15.89 kB / 0.5118 GB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.343, allocations: 3.812 kB / 0.5118 GB, free: 8.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.3431, allocations: 111.9 kB / 0.5119 GB, free: 8.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3431, allocations: 0 / 0.5119 GB, free: 8.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.3434, allocations: 23.09 kB / 0.5119 GB, free: 8.133 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 () * 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 7.899e-05/0.3435, allocations: 102.4 kB / 0.512 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3436, allocations: 46.3 kB / 0.512 GB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3436, allocations: 3.688 kB / 0.512 GB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.3436, allocations: 22.78 kB / 0.5121 GB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3439, allocations: 19.34 kB / 0.5121 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.3443, allocations: 162.7 kB / 0.5122 GB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3444, allocations: 0.7231 MB / 0.5129 GB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.3445, allocations: 8 kB / 0.5129 GB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3445, allocations: 19.3 kB / 0.513 GB, free: 7.145 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3445, allocations: 0 / 0.513 GB, free: 7.145 MB / 330.7 MB Notification: Performance of Templates: time 0.00265/0.3472, allocations: 0.8661 MB / 0.5138 GB, free: 6.719 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)