Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") [: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.002166/0.002166, allocations: 180.1 kB / 7.456 MB, free: 2.504 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.108/1.108, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008778/0.0008778, allocations: 93.06 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05503/0.05503, allocations: 14.01 MB / 323 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.731e-06, allocations: 4 kB / 381.3 MB, free: 73.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07217/0.07219, allocations: 51.1 MB / 432.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.2795, allocations: 78.86 MB / 0.4993 GB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.2797, allocations: 68.83 kB / 0.4993 GB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01363/0.2934, allocations: 5.188 MB / 0.5044 GB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.2934, allocations: 7.625 kB / 0.5044 GB, free: 11.32 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006487/0.2941, allocations: 0.5501 MB / 0.5049 GB, free: 10.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2941, allocations: 8.219 kB / 0.505 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.2942, allocations: 28.78 kB / 0.505 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.2946, allocations: 294.2 kB / 0.5053 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2946, allocations: 2.906 kB / 0.5053 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.2946, allocations: 11.34 kB / 0.5053 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002085/0.2948, allocations: 107.3 kB / 0.5054 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.2951, allocations: 202.5 kB / 0.5056 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2951, allocations: 0 / 0.5056 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.2951, allocations: 2.656 kB / 0.5056 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2951, allocations: 2.656 kB / 0.5056 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.296, allocations: 0.9438 MB / 0.5065 GB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.2963, allocations: 160.5 kB / 0.5066 GB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2965, allocations: 84.05 kB / 0.5067 GB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2965, allocations: 9.641 kB / 0.5067 GB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.2967, allocations: 170.8 kB / 0.5069 GB, free: 9.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.2967, allocations: 9.688 kB / 0.5069 GB, free: 9.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003604/0.297, allocations: 195.6 kB / 0.5071 GB, free: 9.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2971, allocations: 162.3 kB / 0.5073 GB, free: 9.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2972, allocations: 206.5 kB / 0.5074 GB, free: 9.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2973, allocations: 27.08 kB / 0.5075 GB, free: 9.055 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.2973, allocations: 117 kB / 0.5076 GB, free: 8.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2974, allocations: 50.73 kB / 0.5076 GB, free: 8.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.2974, allocations: 1.375 kB / 0.5076 GB, free: 8.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.2974, allocations: 337.1 kB / 0.508 GB, free: 8.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2975, allocations: 71.17 kB / 0.508 GB, free: 8.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2977, allocations: 134.4 kB / 0.5082 GB, free: 8.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.2978, allocations: 69.69 kB / 0.5082 GB, free: 8.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2978, allocations: 0 / 0.5082 GB, free: 8.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003174/0.2981, allocations: 231.1 kB / 0.5084 GB, free: 8.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/0.2982, allocations: 0.5303 MB / 0.509 GB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2982, allocations: 0.9688 kB / 0.509 GB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2982, allocations: 7.562 kB / 0.509 GB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.2985, allocations: 66.64 kB / 0.509 GB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2985, allocations: 6.25 kB / 0.509 GB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2988, allocations: 54.44 kB / 0.5091 GB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.2988, allocations: 10.25 kB / 0.5091 GB, free: 7.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/0.2988, allocations: 2.875 kB / 0.5091 GB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002413/0.2991, allocations: 158.6 kB / 0.5093 GB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.2991, allocations: 1.375 kB / 0.5093 GB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.2991, allocations: 14.78 kB / 0.5093 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2992, allocations: 25.05 kB / 0.5093 GB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.2992, allocations: 1.875 kB / 0.5093 GB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2993, allocations: 21.27 kB / 0.5093 GB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2994, allocations: 10.16 kB / 0.5093 GB, free: 7.773 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: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 8.703e-05/0.2995, allocations: 143.1 kB / 0.5095 GB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2995, allocations: 28.56 kB / 0.5095 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.2996, allocations: 26.64 kB / 0.5095 GB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2996, allocations: 6.406 kB / 0.5095 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2996, allocations: 0 / 0.5095 GB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2996, allocations: 5.297 kB / 0.5095 GB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2998, allocations: 260.8 kB / 0.5098 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2998, allocations: 1.781 kB / 0.5098 GB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.3, allocations: 58.41 kB / 0.5098 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3001, allocations: 1.312 kB / 0.5098 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.3001, allocations: 8.719 kB / 0.5098 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3001, allocations: 4.562 kB / 0.5098 GB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3001, allocations: 0.6562 kB / 0.5098 GB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004543/0.3006, allocations: 357.7 kB / 0.5102 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.3006, allocations: 99.17 kB / 0.5103 GB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.3007, allocations: 6.25 kB / 0.5103 GB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3009, allocations: 48.98 kB / 0.5103 GB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.301, allocations: 25.52 kB / 0.5104 GB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.301, allocations: 10.31 kB / 0.5104 GB, free: 7.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001015/0.3011, allocations: 162.4 kB / 0.5105 GB, free: 7.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.3015, allocations: 86.45 kB / 0.5106 GB, free: 6.992 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.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 (11): * Single equations (assignments): 10 * 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.0001657/0.3017, allocations: 142 kB / 0.5107 GB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.3021, allocations: 310.3 kB / 0.511 GB, free: 6.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3021, allocations: 0.625 kB / 0.511 GB, free: 6.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3022, allocations: 138.1 kB / 0.5112 GB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3025, allocations: 51.86 kB / 0.5112 GB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.3032, allocations: 320.5 kB / 0.5115 GB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.3034, allocations: 0.7693 MB / 0.5123 GB, free: 5.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3034, allocations: 0 / 0.5123 GB, free: 5.84 MB / 330.7 MB Notification: Performance of Templates: time 0.00686/0.3102, allocations: 3.927 MB / 0.5161 GB, free: 3.906 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)