Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag") translateModel(PowerGrids.Controls.Test.TestDerivativeLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009362, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2016/0.2016, allocations: 14.22 MB / 305.2 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005303, allocations: 8 kB / 371.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3331, allocations: 53.91 MB / 425.5 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.002087/0.3353, allocations: 1.484 MB / 427 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003465/0.3357, allocations: 163.7 kB / 427.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3358, allocations: 7.812 kB / 427.2 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.3358, allocations: 11.91 kB / 427.2 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.336, allocations: 31.14 kB / 427.2 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.634e-05/0.3361, allocations: 36.78 kB / 427.3 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3363, allocations: 84.58 kB / 427.3 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3364, allocations: 42.69 kB / 427.4 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.3365, allocations: 36.86 kB / 427.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.3366, allocations: 33.58 kB / 427.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3366, allocations: 2.875 kB / 427.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.3366, allocations: 1.844 kB / 427.5 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3367, allocations: 17.69 kB / 427.5 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.3367, allocations: 42.17 kB / 427.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.044e-05/0.3368, allocations: 72.55 kB / 427.6 MB, free: 39.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3368, allocations: 0 / 427.6 MB, free: 39.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3368, allocations: 0 / 427.6 MB, free: 39.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3368, allocations: 0 / 427.6 MB, free: 39.31 MB / 350.1 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.0004434/0.3373, allocations: 401.7 kB / 428 MB, free: 38.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3373, allocations: 8.625 kB / 428 MB, free: 38.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3374, allocations: 17.59 kB / 428 MB, free: 38.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3376, allocations: 218.5 kB / 428.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3376, allocations: 6.688 kB / 428.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.3377, allocations: 9.625 kB / 428.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.3379, allocations: 136.2 kB / 428.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3379, allocations: 5.5 kB / 428.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.338, allocations: 8.891 kB / 428.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.338, allocations: 3 kB / 428.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3382, allocations: 69.06 kB / 428.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.3387, allocations: 0.6039 MB / 429 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.339, allocations: 110.5 kB / 429.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.339, allocations: 0 / 429.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.339, allocations: 41.52 kB / 429.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.339, allocations: 0 / 429.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003497/0.3394, allocations: 124.2 kB / 429.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3394, allocations: 102.8 kB / 429.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3395, allocations: 149 kB / 429.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3396, allocations: 29.2 kB / 429.6 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.3396, allocations: 123.7 kB / 429.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3397, allocations: 24.23 kB / 429.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.3397, allocations: 6.031 kB / 429.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.3397, allocations: 323.2 kB / 430.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3398, allocations: 29.25 kB / 430.1 MB, free: 37.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.3399, allocations: 69.27 kB / 430.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.83e-05/0.34, allocations: 29.27 kB / 430.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.34, allocations: 0 / 430.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000218/0.3402, allocations: 131.6 kB / 430.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3403, allocations: 5.562 kB / 430.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3403, allocations: 0 / 430.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3403, allocations: 2.781 kB / 430.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3404, allocations: 30.23 kB / 430.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3404, allocations: 7 kB / 430.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.3405, allocations: 14.72 kB / 430.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3405, allocations: 6.312 kB / 430.4 MB, free: 37.16 MB / 350.1 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 (11): * Single equations (assignments): 11 * 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 7.313e-05/0.3406, allocations: 128.4 kB / 430.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3406, allocations: 11.06 kB / 430.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.3407, allocations: 12.53 kB / 430.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3407, allocations: 0 / 430.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3407, allocations: 3 kB / 430.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3407, allocations: 7.125 kB / 430.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.3409, allocations: 210.6 kB / 430.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3409, allocations: 2.719 kB / 430.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.341, allocations: 15.39 kB / 430.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.341, allocations: 2.625 kB / 430.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.341, allocations: 1.453 kB / 430.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.341, allocations: 5 kB / 430.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.341, allocations: 0 / 430.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.3414, allocations: 264.3 kB / 431 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.3414, allocations: 94.17 kB / 431.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3414, allocations: 7.969 kB / 431.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.3415, allocations: 12 kB / 431.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3416, allocations: 6.828 kB / 431.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3416, allocations: 5.781 kB / 431.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.529e-05/0.3416, allocations: 109.9 kB / 431.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 0 / 431.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3419, allocations: 16.5 kB / 431.3 MB, free: 36.46 MB / 350.1 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 (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 7.51e-05/0.342, allocations: 103.9 kB / 431.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3422, allocations: 68.78 kB / 431.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3422, allocations: 0 / 431.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.3423, allocations: 33.11 kB / 431.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3426, allocations: 21.73 kB / 431.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.343, allocations: 285.7 kB / 431.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3432, allocations: 0.7122 MB / 432.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.3432, allocations: 16.06 kB / 432.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.3433, allocations: 17.28 kB / 432.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3433, allocations: 0 / 432.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Templates: time 0.002881/0.3462, allocations: 0.8639 MB / 433.4 MB, free: 35.36 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)