Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") [: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.002596/0.002596, allocations: 171.9 kB / 7.448 MB, free: 2.312 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.115/1.115, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0008378/0.0008378, allocations: 100.3 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.05331/0.05331, allocations: 14.01 MB / 323 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.982e-06/6.001e-06, allocations: 0 / 381.3 MB, free: 73.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.07894, allocations: 51.1 MB / 432.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/0.3228, allocations: 78.8 MB / 0.4992 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.323, allocations: 70.47 kB / 0.4993 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01698/0.34, allocations: 6.295 MB / 0.5054 GB, free: 10.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3401, allocations: 5.5 kB / 0.5054 GB, free: 10.71 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006438/0.3407, allocations: 0.5932 MB / 0.506 GB, free: 10.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3408, allocations: 9.625 kB / 0.506 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.3409, allocations: 42.41 kB / 0.5061 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3414, allocations: 342.8 kB / 0.5064 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3414, allocations: 6.875 kB / 0.5064 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.3414, allocations: 12.38 kB / 0.5064 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003093/0.3417, allocations: 143.2 kB / 0.5065 GB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3421, allocations: 227.9 kB / 0.5068 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3421, allocations: 0 / 0.5068 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3422, allocations: 5 kB / 0.5068 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3422, allocations: 8.5 kB / 0.5068 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3434, allocations: 0.9109 MB / 0.5077 GB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.3441, allocations: 255.1 kB / 0.5079 GB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.3443, allocations: 111.6 kB / 0.508 GB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3443, allocations: 11.5 kB / 0.508 GB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.3445, allocations: 194.4 kB / 0.5082 GB, free: 8.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.3445, allocations: 0 / 0.5082 GB, free: 8.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004845/0.345, allocations: 230.4 kB / 0.5084 GB, free: 8.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3451, allocations: 224.7 kB / 0.5086 GB, free: 8.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3454, allocations: 244 kB / 0.5089 GB, free: 8.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3454, allocations: 26.83 kB / 0.5089 GB, free: 8.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.3455, allocations: 136.3 kB / 0.509 GB, free: 8.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.3455, allocations: 59.23 kB / 0.5091 GB, free: 8.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.3455, allocations: 1.344 kB / 0.5091 GB, free: 8.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.3456, allocations: 346.5 kB / 0.5094 GB, free: 7.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3458, allocations: 76.3 kB / 0.5095 GB, free: 7.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3459, allocations: 155.7 kB / 0.5096 GB, free: 7.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3461, allocations: 86.73 kB / 0.5097 GB, free: 7.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3461, allocations: 0 / 0.5097 GB, free: 7.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003996/0.3465, allocations: 250.9 kB / 0.51 GB, free: 7.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.603e-05/0.3466, allocations: 364.2 kB / 0.5103 GB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3466, allocations: 1.312 kB / 0.5103 GB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3466, allocations: 1.062 kB / 0.5103 GB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3469, allocations: 62.86 kB / 0.5104 GB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3469, allocations: 5.5 kB / 0.5104 GB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.3472, allocations: 51.34 kB / 0.5104 GB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.3472, allocations: 8.031 kB / 0.5104 GB, free: 7.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/0.3472, allocations: 3.125 kB / 0.5104 GB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003105/0.3476, allocations: 177 kB / 0.5106 GB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.3476, allocations: 1.25 kB / 0.5106 GB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.3476, allocations: 2.406 kB / 0.5106 GB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3477, allocations: 34.7 kB / 0.5106 GB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.3478, allocations: 2.375 kB / 0.5106 GB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3479, allocations: 30.02 kB / 0.5107 GB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.348, allocations: 9.875 kB / 0.5107 GB, free: 7.273 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001051/0.3481, allocations: 142.5 kB / 0.5108 GB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.3481, allocations: 35.44 kB / 0.5108 GB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.3482, allocations: 30.42 kB / 0.5109 GB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3482, allocations: 2 kB / 0.5109 GB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3482, allocations: 1.156 kB / 0.5109 GB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3483, allocations: 4.875 kB / 0.5109 GB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3485, allocations: 311.6 kB / 0.5112 GB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3485, allocations: 0 / 0.5112 GB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.3488, allocations: 55.59 kB / 0.5112 GB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3488, allocations: 6.469 kB / 0.5112 GB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.3488, allocations: 7.453 kB / 0.5112 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3489, allocations: 2.75 kB / 0.5113 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3489, allocations: 0 / 0.5113 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006067/0.3495, allocations: 426.6 kB / 0.5117 GB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.3495, allocations: 115.2 kB / 0.5118 GB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.3496, allocations: 2.844 kB / 0.5118 GB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.3499, allocations: 36.72 kB / 0.5118 GB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.35, allocations: 13.02 kB / 0.5118 GB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.35, allocations: 15.36 kB / 0.5118 GB, free: 6.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000178/0.3502, allocations: 194.2 kB / 0.512 GB, free: 6.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004325/0.3506, allocations: 103.5 kB / 0.5121 GB, free: 6.426 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001858/0.3508, allocations: 134.9 kB / 0.5122 GB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00048/0.3513, allocations: 357.3 kB / 0.5126 GB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3513, allocations: 3.938 kB / 0.5126 GB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3515, allocations: 148.4 kB / 0.5127 GB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3519, allocations: 56.83 kB / 0.5128 GB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.3528, allocations: 413 kB / 0.5132 GB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.3531, allocations: 0.8095 MB / 0.514 GB, free: 5.211 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3531, allocations: 0 / 0.514 GB, free: 5.211 MB / 330.7 MB Notification: Performance of Templates: time 0.008655/0.3618, allocations: 4.686 MB / 0.5185 GB, free: 2.883 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)