Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_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.865/1.865, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2587/2.124, allocations: 46.83 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/2.221, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/2.524, allocations: 75.78 MB / 369.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/2.525, allocations: 66.48 kB / 369.7 MB, free: 7.133 MB / 298.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.04912/2.574, allocations: 13.88 MB / 383.6 MB, free: 3.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/2.574, allocations: 15.62 kB / 383.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/2.574, allocations: 96.66 kB / 383.7 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/2.575, allocations: 428.3 kB / 384.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/2.575, allocations: 15.11 kB / 384.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/2.575, allocations: 19.5 kB / 384.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004921/2.576, allocations: 188.1 kB / 384.3 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/2.576, allocations: 330 kB / 384.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/2.576, allocations: 0 / 384.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/2.576, allocations: 15.25 kB / 384.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/2.576, allocations: 3.75 kB / 384.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/2.578, allocations: 0.9505 MB / 385.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/2.579, allocations: 294.2 kB / 385.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/2.58, allocations: 257.5 kB / 386.1 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/2.58, allocations: 11.78 kB / 386.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/2.58, allocations: 0.5452 MB / 386.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.656e-06/2.58, allocations: 3.984 kB / 386.7 MB, free: 1.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001182/2.582, allocations: 0.5028 MB / 387.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/2.582, allocations: 280 kB / 387.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/2.585, allocations: 1.245 MB / 388.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/2.585, allocations: 40.7 kB / 388.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/2.585, allocations: 105.4 kB / 388.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/2.585, allocations: 72.66 kB / 388.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/2.585, allocations: 3.844 kB / 388.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/2.585, allocations: 336.8 kB / 389.3 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/2.586, allocations: 193.1 kB / 389.5 MB, free: 16.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/2.586, allocations: 236.8 kB / 389.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/2.587, allocations: 160.5 kB / 389.8 MB, free: 16.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/2.587, allocations: 3.875 kB / 389.9 MB, free: 16.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001066/2.588, allocations: 472 kB / 390.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/2.588, allocations: 6 kB / 390.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/2.588, allocations: 7.922 kB / 390.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/2.588, allocations: 3.906 kB / 390.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/2.588, allocations: 3.719 kB / 390.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/2.588, allocations: 0 / 390.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/2.589, allocations: 34.55 kB / 390.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/2.589, allocations: 93.05 kB / 390.5 MB, free: 16.16 MB / 314.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.0004306/2.589, allocations: 340.5 kB / 390.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/2.589, allocations: 104.5 kB / 390.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009139/2.59, allocations: 196.5 kB / 391.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/2.59, allocations: 3.875 kB / 391.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/2.59, allocations: 4 kB / 391.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/2.59, allocations: 0 / 391.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/2.593, allocations: 1.386 MB / 392.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/2.593, allocations: 1.312 kB / 392.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/2.593, allocations: 4.906 kB / 392.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/2.594, allocations: 5.438 kB / 392.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/2.594, allocations: 27.92 kB / 392.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/2.594, allocations: 5.25 kB / 392.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.594, allocations: 5.219 kB / 392.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00164/2.595, allocations: 0.8506 MB / 393.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001597/2.597, allocations: 1.25 MB / 394.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/2.599, allocations: 0.6054 MB / 395.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/2.6, allocations: 55.38 kB / 395.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/2.601, allocations: 37.28 kB / 395.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/2.601, allocations: 84.77 kB / 395.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/2.601, allocations: 98.7 kB / 395.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.002727/2.604, allocations: 1.039 MB / 396.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001765/2.606, allocations: 93.94 kB / 396.6 MB, free: 12.85 MB / 314.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.0003778/2.606, allocations: 173.6 kB / 396.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/2.607, allocations: 0.6363 MB / 397.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/2.607, allocations: 0 / 397.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/2.609, allocations: 0.629 MB / 398.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/2.611, allocations: 212.8 kB / 398.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/2.616, allocations: 1.802 MB / 400.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/2.618, allocations: 1.113 MB / 401.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/2.618, allocations: 1.094 kB / 401.2 MB, free: 10.61 MB / 314.7 MB