Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") [: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.002148/0.002148, allocations: 178.8 kB / 7.452 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.006/1.006, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0008353/0.0008356, allocations: 91.8 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05197/0.05197, allocations: 14.01 MB / 323 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.739e-06, allocations: 0 / 380.1 MB, free: 74.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06609/0.06611, allocations: 51.11 MB / 431.3 MB, free: 23.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.2637, allocations: 75.37 MB / 0.4948 GB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001619/0.2639, allocations: 72.61 kB / 0.4948 GB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.002664/0.2665, allocations: 0.8792 MB / 0.4957 GB, free: 11.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2666, allocations: 0 / 0.4957 GB, free: 11.1 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001181/0.2667, allocations: 312.8 kB / 0.496 GB, free: 10.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2667, allocations: 12.73 kB / 0.496 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.95e-05/0.2667, allocations: 1.531 kB / 0.496 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.838e-05/0.2668, allocations: 168.2 kB / 0.4962 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.2668, allocations: 0 / 0.4962 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.2668, allocations: 0.75 kB / 0.4962 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.968e-05/0.2669, allocations: 11.84 kB / 0.4962 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.62e-05/0.2669, allocations: 40.22 kB / 0.4962 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.2669, allocations: 0 / 0.4962 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.2669, allocations: 3.875 kB / 0.4962 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.267, allocations: 0 / 0.4962 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.2671, allocations: 454.2 kB / 0.4966 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.2672, allocations: 166.6 kB / 0.4968 GB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.2672, allocations: 86.52 kB / 0.4969 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2672, allocations: 75.28 kB / 0.497 GB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.2672, allocations: 116.9 kB / 0.4971 GB, free: 9.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2672, allocations: 0 / 0.4971 GB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.004e-05/0.2673, allocations: 31.09 kB / 0.4971 GB, free: 9.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.29e-05/0.2673, allocations: 51.41 kB / 0.4971 GB, free: 9.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.2674, allocations: 92.81 kB / 0.4972 GB, free: 9.387 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.2674, allocations: 27.06 kB / 0.4973 GB, free: 9.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.2674, allocations: 87.11 kB / 0.4973 GB, free: 9.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.2674, allocations: 0 / 0.4973 GB, free: 9.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-06/0.2674, allocations: 0 / 0.4973 GB, free: 9.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.2674, allocations: 320.2 kB / 0.4976 GB, free: 8.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.2675, allocations: 3.844 kB / 0.4976 GB, free: 8.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.2675, allocations: 9.719 kB / 0.4977 GB, free: 8.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.303e-05/0.2675, allocations: 7.656 kB / 0.4977 GB, free: 8.934 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2675, allocations: 0 / 0.4977 GB, free: 8.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.375e-05/0.2676, allocations: 39.67 kB / 0.4977 GB, free: 8.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.2676, allocations: 7.969 kB / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2676, allocations: 0 / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2676, allocations: 0 / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.2676, allocations: 5.062 kB / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.2676, allocations: 0 / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.2677, allocations: 3.844 kB / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.2677, allocations: 0 / 0.4977 GB, free: 8.895 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.791e-05/0.2677, allocations: 181.7 kB / 0.4979 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.2678, allocations: 101 kB / 0.498 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.2678, allocations: 121.1 kB / 0.4981 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.2678, allocations: 176.3 kB / 0.4983 GB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.2678, allocations: 181.1 kB / 0.4984 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.2679, allocations: 180.2 kB / 0.4986 GB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.275e-05/0.268, allocations: 384.2 kB / 0.499 GB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.268, allocations: 106.3 kB / 0.4991 GB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.268, allocations: 104.9 kB / 0.4992 GB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.268, allocations: 181.9 kB / 0.4994 GB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.268, allocations: 180.3 kB / 0.4995 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/0.2681, allocations: 185.4 kB / 0.4997 GB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/0.2681, allocations: 176.3 kB / 0.4999 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.994e-05/0.2681, allocations: 308.8 kB / 0.5002 GB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.2682, allocations: 184.2 kB / 0.5003 GB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.2682, allocations: 181.7 kB / 0.5005 GB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.2683, allocations: 104.9 kB / 0.5006 GB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.2683, allocations: 181.8 kB / 0.5008 GB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2683, allocations: 112.9 kB / 0.5009 GB, free: 5.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.377e-05/0.2683, allocations: 79.22 kB / 0.501 GB, free: 5.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.2685, allocations: 0 / 0.501 GB, free: 5.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 5.825e-05/0.2686, allocations: 171.7 kB / 0.5011 GB, free: 5.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.461e-05/0.2686, allocations: 6.969 kB / 0.5011 GB, free: 5.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.2686, allocations: 4.219 kB / 0.5012 GB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.2686, allocations: 0 / 0.5012 GB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.2689, allocations: 0.5184 MB / 0.5017 GB, free: 20.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001315/0.269, allocations: 124.6 kB / 0.5018 GB, free: 20.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.2692, allocations: 0.6824 MB / 0.5024 GB, free: 19.87 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2692, allocations: 4 kB / 0.5024 GB, free: 19.86 MB / 346.7 MB Notification: Performance of Templates: time 0.001209/0.2704, allocations: 155.5 kB / 0.5026 GB, free: 19.83 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)