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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) [: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.00362/0.00362, allocations: 185.2 kB / 7.457 MB, free: 2.52 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.606/1.606, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009957/0.0009956, allocations: 100.5 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-master/package.mo): time 0.05943/0.05943, allocations: 14.03 MB / 323 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2944/0.3539, allocations: 58.35 MB / 381.4 MB, free: 73.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.4851, allocations: 51.11 MB / 432.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.8908, allocations: 78.85 MB / 0.4994 GB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.8911, allocations: 69.06 kB / 0.4994 GB, free: 11.78 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.01813/0.9093, allocations: 5.746 MB / 0.5051 GB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.9094, allocations: 8.5 kB / 0.5051 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.9095, allocations: 31.88 kB / 0.5051 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.9101, allocations: 300.1 kB / 0.5054 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.9101, allocations: 3.75 kB / 0.5054 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.9102, allocations: 7.562 kB / 0.5054 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002894/0.9105, allocations: 105.3 kB / 0.5055 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.9108, allocations: 206.7 kB / 0.5057 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.9108, allocations: 7.922 kB / 0.5057 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.9109, allocations: 2.594 kB / 0.5057 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.9109, allocations: 2.438 kB / 0.5057 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.9121, allocations: 0.942 MB / 0.5066 GB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.9125, allocations: 157.3 kB / 0.5068 GB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.9126, allocations: 92.42 kB / 0.5069 GB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.9126, allocations: 5.359 kB / 0.5069 GB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.9129, allocations: 170.6 kB / 0.507 GB, free: 9.066 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.9129, allocations: 1.375 kB / 0.507 GB, free: 9.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004843/0.9134, allocations: 203.7 kB / 0.5072 GB, free: 8.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.9134, allocations: 162.1 kB / 0.5074 GB, free: 8.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.9137, allocations: 207.8 kB / 0.5076 GB, free: 8.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.9137, allocations: 30.98 kB / 0.5076 GB, free: 8.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.9138, allocations: 113.3 kB / 0.5077 GB, free: 8.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.9138, allocations: 49.7 kB / 0.5078 GB, free: 8.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.9138, allocations: 0 / 0.5078 GB, free: 8.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.9139, allocations: 336.5 kB / 0.5081 GB, free: 8.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.914, allocations: 72.89 kB / 0.5081 GB, free: 8.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.9142, allocations: 134.3 kB / 0.5083 GB, free: 8.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.9144, allocations: 75.27 kB / 0.5083 GB, free: 8.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9144, allocations: 0 / 0.5083 GB, free: 8.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004192/0.9148, allocations: 230.9 kB / 0.5086 GB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.9149, allocations: 0.5291 MB / 0.5091 GB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9149, allocations: 0 / 0.5091 GB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.915, allocations: 3.594 kB / 0.5091 GB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.9153, allocations: 62.7 kB / 0.5091 GB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.9153, allocations: 14.38 kB / 0.5092 GB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.9156, allocations: 61.58 kB / 0.5092 GB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.9156, allocations: 11.72 kB / 0.5092 GB, free: 7.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.9156, allocations: 3.719 kB / 0.5092 GB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003048/0.9159, allocations: 147.2 kB / 0.5094 GB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.916, allocations: 1.344 kB / 0.5094 GB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.916, allocations: 6.562 kB / 0.5094 GB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.9161, allocations: 33.89 kB / 0.5094 GB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9161, allocations: 5.359 kB / 0.5094 GB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.9162, allocations: 13.53 kB / 0.5094 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.9163, allocations: 11.5 kB / 0.5094 GB, free: 7.383 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 0.0001271/0.9164, allocations: 143.8 kB / 0.5096 GB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.9165, allocations: 23.53 kB / 0.5096 GB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.9165, allocations: 24.14 kB / 0.5096 GB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9166, allocations: 5.094 kB / 0.5096 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9166, allocations: 0.9688 kB / 0.5096 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9166, allocations: 4.938 kB / 0.5096 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.9168, allocations: 267.5 kB / 0.5099 GB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9168, allocations: 0 / 0.5099 GB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.9171, allocations: 56.45 kB / 0.5099 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.9171, allocations: 1.438 kB / 0.5099 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.9172, allocations: 7.531 kB / 0.51 GB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.9172, allocations: 3.984 kB / 0.51 GB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9172, allocations: 1.562 kB / 0.51 GB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005918/0.9178, allocations: 352 kB / 0.5103 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007205/0.9185, allocations: 0.8239 MB / 0.5111 GB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.9186, allocations: 98.89 kB / 0.5112 GB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.9187, allocations: 3.719 kB / 0.5112 GB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.9189, allocations: 52.48 kB / 0.5112 GB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.919, allocations: 27.67 kB / 0.5113 GB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.9191, allocations: 7.75 kB / 0.5113 GB, free: 6.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001433/0.9192, allocations: 167.3 kB / 0.5114 GB, free: 6.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001688/0.9209, allocations: 87.14 kB / 0.5115 GB, free: 6.09 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.0002498/0.9212, allocations: 138 kB / 0.5117 GB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.9217, allocations: 318.2 kB / 0.512 GB, free: 5.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9217, allocations: 1.344 kB / 0.512 GB, free: 5.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.9219, allocations: 138.2 kB / 0.5121 GB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.9222, allocations: 43.64 kB / 0.5121 GB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.9231, allocations: 337.8 kB / 0.5125 GB, free: 5.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.9234, allocations: 0.7717 MB / 0.5132 GB, free: 4.934 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.9234, allocations: 4 kB / 0.5132 GB, free: 4.93 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter.fmu > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)