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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002776/0.002776, allocations: 182.8 kB / 7.455 MB, free: 2.512 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.02/1.02, allocations: 205.2 MB / 213.1 MB, free: 13.98 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.0008523/0.0008522, allocations: 88.88 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05451/0.05451, allocations: 14.01 MB / 323 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.272e-06, allocations: 0 / 381.3 MB, free: 73.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07284/0.07287, allocations: 51.1 MB / 432.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.2858, allocations: 77.13 MB / 0.4976 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.286, allocations: 69.69 kB / 0.4976 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005104/0.2911, allocations: 1.886 MB / 0.4995 GB, free: 11.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2911, allocations: 0 / 0.4995 GB, free: 11.74 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.0002833/0.2914, allocations: 395.2 kB / 0.4999 GB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.2914, allocations: 7.625 kB / 0.4999 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2915, allocations: 11.62 kB / 0.4999 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2918, allocations: 239.5 kB / 0.5001 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2918, allocations: 4.844 kB / 0.5001 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.2918, allocations: 7.781 kB / 0.5001 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.698e-05/0.2919, allocations: 41.8 kB / 0.5002 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.292, allocations: 115 kB / 0.5003 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.292, allocations: 0 / 0.5003 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2921, allocations: 0.8906 kB / 0.5003 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2921, allocations: 3.844 kB / 0.5003 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.2926, allocations: 0.7264 MB / 0.501 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.2927, allocations: 78.11 kB / 0.5011 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.2927, allocations: 34.84 kB / 0.5011 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.2927, allocations: 0 / 0.5011 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.2928, allocations: 35.75 kB / 0.5011 GB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2928, allocations: 4 kB / 0.5011 GB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000179/0.293, allocations: 65.23 kB / 0.5012 GB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.293, allocations: 106.7 kB / 0.5013 GB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.2931, allocations: 137.6 kB / 0.5014 GB, free: 10.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2931, allocations: 25.7 kB / 0.5015 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.2931, allocations: 111.4 kB / 0.5016 GB, free: 9.902 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.2931, allocations: 18.03 kB / 0.5016 GB, free: 9.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.2932, allocations: 4.062 kB / 0.5016 GB, free: 9.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.2932, allocations: 321.8 kB / 0.5019 GB, free: 9.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.2932, allocations: 16.84 kB / 0.5019 GB, free: 9.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.2933, allocations: 64.53 kB / 0.502 GB, free: 9.504 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.2933, allocations: 17.17 kB / 0.502 GB, free: 9.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2933, allocations: 3.875 kB / 0.502 GB, free: 9.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001102/0.2934, allocations: 90.94 kB / 0.5021 GB, free: 9.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.2934, allocations: 7.625 kB / 0.5021 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2935, allocations: 0.6562 kB / 0.5021 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2935, allocations: 5.734 kB / 0.5021 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2936, allocations: 23.09 kB / 0.5021 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2936, allocations: 7.781 kB / 0.5021 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.2937, allocations: 13.27 kB / 0.5021 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2937, allocations: 3.781 kB / 0.5021 GB, free: 9.438 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.635e-05/0.2938, allocations: 108.8 kB / 0.5022 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.2938, allocations: 9.297 kB / 0.5022 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2939, allocations: 20.77 kB / 0.5023 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2939, allocations: 0 / 0.5023 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2939, allocations: 3.781 kB / 0.5023 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2939, allocations: 3.906 kB / 0.5023 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2941, allocations: 172.3 kB / 0.5024 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2941, allocations: 48 / 0.5024 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.2942, allocations: 18.86 kB / 0.5025 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2942, allocations: 0 / 0.5025 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.2942, allocations: 3.875 kB / 0.5025 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2942, allocations: 3.938 kB / 0.5025 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2942, allocations: 5.688 kB / 0.5025 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000155/0.2944, allocations: 358.9 kB / 0.5028 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.2944, allocations: 90.22 kB / 0.5029 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2945, allocations: 4.062 kB / 0.5029 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2946, allocations: 5.109 kB / 0.5029 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.2947, allocations: 6.859 kB / 0.5029 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2947, allocations: 0 / 0.5029 GB, free: 8.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.141e-05/0.2947, allocations: 108.2 kB / 0.503 GB, free: 8.637 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.295, allocations: 20.73 kB / 0.503 GB, free: 8.629 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 8.446e-05/0.2951, allocations: 103.8 kB / 0.5031 GB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.305e-05/0.2952, allocations: 45.95 kB / 0.5032 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.2952, allocations: 0 / 0.5032 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.2953, allocations: 16.55 kB / 0.5032 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2955, allocations: 23.3 kB / 0.5032 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.2959, allocations: 147.1 kB / 0.5034 GB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.296, allocations: 0.7374 MB / 0.5041 GB, free: 7.711 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2961, allocations: 0 / 0.5041 GB, free: 7.711 MB / 330.7 MB Notification: Performance of Templates: time 0.002556/0.2986, allocations: 0.8939 MB / 0.5049 GB, free: 7.625 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)