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.001091/0.001091, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0007916/0.0007915, allocations: 86.2 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05603/0.05603, allocations: 14.02 MB / 323.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.266e-05, allocations: 4 kB / 381.9 MB, free: 72.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08044, allocations: 51.1 MB / 433 MB, free: 21.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3033/0.3838, allocations: 77.21 MB / 0.4982 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.384, allocations: 65.8 kB / 0.4983 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005404/0.3895, allocations: 2.209 MB / 0.5004 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3895, allocations: 5.031 kB / 0.5004 GB, free: 11.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3895, allocations: 3.781 kB / 0.5004 GB, free: 11.95 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.0002989/0.3898, allocations: 386 kB / 0.5008 GB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3898, allocations: 11.22 kB / 0.5008 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.3899, allocations: 11.31 kB / 0.5008 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3902, allocations: 240.5 kB / 0.5011 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3902, allocations: 7.953 kB / 0.5011 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3903, allocations: 8.188 kB / 0.5011 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.634e-05/0.3904, allocations: 37.34 kB / 0.5011 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3905, allocations: 108.5 kB / 0.5012 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3905, allocations: 3.781 kB / 0.5012 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3906, allocations: 3.938 kB / 0.5012 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3906, allocations: 4 kB / 0.5012 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.3912, allocations: 0.7329 MB / 0.5019 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.3913, allocations: 72.33 kB / 0.502 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.3913, allocations: 29.14 kB / 0.502 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3914, allocations: 7.844 kB / 0.502 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3914, allocations: 41.59 kB / 0.5021 GB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3914, allocations: 0 / 0.5021 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002037/0.3916, allocations: 67.86 kB / 0.5021 GB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.3916, allocations: 102.8 kB / 0.5022 GB, free: 10.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.3917, allocations: 135.9 kB / 0.5024 GB, free: 10.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.3918, allocations: 29.55 kB / 0.5024 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3918, allocations: 120 kB / 0.5025 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.3918, allocations: 17.83 kB / 0.5025 GB, free: 10.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.3918, allocations: 0 / 0.5025 GB, free: 10.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.3919, allocations: 323.4 kB / 0.5028 GB, free: 9.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.3919, allocations: 10.66 kB / 0.5029 GB, free: 9.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.392, allocations: 57.59 kB / 0.5029 GB, free: 9.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.392, allocations: 24.33 kB / 0.5029 GB, free: 9.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.392, allocations: 0 / 0.5029 GB, free: 9.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001105/0.3921, allocations: 95.56 kB / 0.503 GB, free: 9.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3922, allocations: 7.812 kB / 0.503 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3922, allocations: 0 / 0.503 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3922, allocations: 11.73 kB / 0.503 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3923, allocations: 19.94 kB / 0.5031 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.3923, allocations: 3.844 kB / 0.5031 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.3924, allocations: 10.09 kB / 0.5031 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3924, allocations: 4.031 kB / 0.5031 GB, free: 9.656 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 6.244e-05/0.3925, allocations: 112.7 kB / 0.5032 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.3926, allocations: 7.75 kB / 0.5032 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.3926, allocations: 17.97 kB / 0.5032 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.3926, allocations: 0 / 0.5032 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3926, allocations: 7.766 kB / 0.5032 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3926, allocations: 4 kB / 0.5032 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3929, allocations: 168.2 kB / 0.5034 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3929, allocations: 0 / 0.5034 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.393, allocations: 21.3 kB / 0.5034 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.393, allocations: 192 / 0.5034 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.393, allocations: 3.938 kB / 0.5034 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.393, allocations: 7.844 kB / 0.5034 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.393, allocations: 0 / 0.5034 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3932, allocations: 358.5 kB / 0.5038 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.3932, allocations: 87.69 kB / 0.5038 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3932, allocations: 0 / 0.5038 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3934, allocations: 7.797 kB / 0.5038 GB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3934, allocations: 10.11 kB / 0.5039 GB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3935, allocations: 6.375 kB / 0.5039 GB, free: 8.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.754e-05/0.3935, allocations: 104.3 kB / 0.504 GB, free: 8.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3935, allocations: 0 / 0.504 GB, free: 8.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.3938, allocations: 23.53 kB / 0.504 GB, free: 8.844 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 0.0001026/0.3939, allocations: 104.9 kB / 0.5041 GB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.394, allocations: 38.81 kB / 0.5041 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3941, allocations: 0 / 0.5041 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.3941, allocations: 19.03 kB / 0.5041 GB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3944, allocations: 28 kB / 0.5042 GB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.3948, allocations: 158.2 kB / 0.5043 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.395, allocations: 0.7067 MB / 0.505 GB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.696e-05/0.395, allocations: 14.17 kB / 0.505 GB, free: 7.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.3951, allocations: 11.12 kB / 0.505 GB, free: 7.914 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3951, allocations: 0 / 0.505 GB, free: 7.914 MB / 330.7 MB Notification: Performance of Templates: time 0.002698/0.3978, allocations: 0.8135 MB / 0.5058 GB, free: 7.828 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)