Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_VectorDelay",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 loadModel(Modelica): time 1.685/1.685, allocations: 171.2 MB / 178.1 MB, free: 8.273 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2272/1.912, allocations: 41.1 MB / 219.2 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/2.007, allocations: 38.76 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/2.32, allocations: 70.77 MB / 328.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/2.321, allocations: 63.16 kB / 328.8 MB, free: 1.219 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.07192/2.393, allocations: 13.86 MB / 342.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/2.393, allocations: 8 kB / 342.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/2.393, allocations: 98.78 kB / 342.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/2.395, allocations: 423 kB / 343.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/2.395, allocations: 12 kB / 343.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/2.395, allocations: 19.19 kB / 343.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008242/2.396, allocations: 187.6 kB / 343.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/2.397, allocations: 339 kB / 343.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/2.397, allocations: 0 / 343.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/2.397, allocations: 4 kB / 343.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/2.397, allocations: 4 kB / 343.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/2.401, allocations: 0.9631 MB / 344.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/2.402, allocations: 301.2 kB / 345 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007638/2.403, allocations: 259.1 kB / 345.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/2.403, allocations: 0 / 345.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/2.405, allocations: 0.5474 MB / 345.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 4.649e-06/2.405, allocations: 0 / 345.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002101/2.407, allocations: 0.5157 MB / 346.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002859/2.407, allocations: 280.3 kB / 346.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004803/2.412, allocations: 1.238 MB / 347.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/2.412, allocations: 41.69 kB / 347.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/2.412, allocations: 101 kB / 348 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/2.413, allocations: 73.73 kB / 348.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/2.413, allocations: 7.188 kB / 348.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/2.413, allocations: 334 kB / 348.4 MB, free: 328 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/2.413, allocations: 203.9 kB / 348.6 MB, free: 192 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007645/2.414, allocations: 227.4 kB / 348.8 MB, free: 24 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/2.415, allocations: 163.4 kB / 349 MB, free: 15.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/2.415, allocations: 3.938 kB / 349 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001759/2.417, allocations: 484.9 kB / 349.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/2.417, allocations: 4 kB / 349.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/2.417, allocations: 0 / 349.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/2.417, allocations: 4 kB / 349.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/2.417, allocations: 192 / 349.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/2.417, allocations: 7.938 kB / 349.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/2.418, allocations: 31.88 kB / 349.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/2.418, allocations: 91.38 kB / 349.6 MB, free: 15.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0006475/2.419, allocations: 338.1 kB / 349.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/2.419, allocations: 98.88 kB / 350 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/2.42, allocations: 197.6 kB / 350.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/2.42, allocations: 0 / 350.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/2.42, allocations: 4 kB / 350.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/2.42, allocations: 0 / 350.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/2.425, allocations: 1.392 MB / 351.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/2.425, allocations: 4 kB / 351.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/2.425, allocations: 3.906 kB / 351.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/2.425, allocations: 3.984 kB / 351.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/2.425, allocations: 30.98 kB / 351.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/2.425, allocations: 7.984 kB / 351.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.425, allocations: 0 / 351.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002309/2.427, allocations: 0.8548 MB / 352.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002692/2.43, allocations: 1.237 MB / 353.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/2.433, allocations: 0.6165 MB / 354.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/2.433, allocations: 54.34 kB / 354.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/2.434, allocations: 31.91 kB / 354.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/2.434, allocations: 88.53 kB / 354.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/2.434, allocations: 99.61 kB / 354.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.002999/2.437, allocations: 1.035 MB / 355.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0029/2.44, allocations: 92 kB / 355.8 MB, free: 9.918 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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.0006828/2.441, allocations: 178 kB / 355.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00228/2.443, allocations: 0.6281 MB / 356.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/2.443, allocations: 192 / 356.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/2.445, allocations: 0.636 MB / 357.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/2.448, allocations: 201.8 kB / 357.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/2.454, allocations: 1.808 MB / 359.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/2.456, allocations: 1.133 MB / 360.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of SimCode: time 1.783e-06/2.456, allocations: 0 / 360.3 MB, free: 5.828 MB / 298.7 MB