Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_RAM",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.604/1.604, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1754/1.78, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/1.864, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/2.146, allocations: 74.22 MB / 332.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/2.146, allocations: 74.83 kB / 332.3 MB, free: 13.79 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.2245/2.37, allocations: 41.17 MB / 373.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/2.37, allocations: 12 kB / 373.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/2.371, allocations: 122.5 kB / 373.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/2.372, allocations: 476.6 kB / 374.1 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/2.372, allocations: 19.91 kB / 374.1 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/2.372, allocations: 16 kB / 374.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009826/2.373, allocations: 459.8 kB / 374.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/2.374, allocations: 0.5521 MB / 375.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/2.374, allocations: 0 / 375.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/2.374, allocations: 11.98 kB / 375.1 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/2.374, allocations: 4 kB / 375.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/2.377, allocations: 0.9065 MB / 376 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/2.378, allocations: 0.7171 MB / 376.7 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/2.379, allocations: 0.7038 MB / 377.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/2.38, allocations: 0 / 377.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/2.381, allocations: 0.697 MB / 378.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.995e-06/2.381, allocations: 0 / 378.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002217/2.383, allocations: 1.023 MB / 379.2 MB, free: 4.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002737/2.383, allocations: 334.7 kB / 379.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/2.386, allocations: 1.267 MB / 380.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/2.387, allocations: 37.7 kB / 380.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/2.387, allocations: 154 kB / 380.9 MB, free: 2.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/2.387, allocations: 86.92 kB / 381 MB, free: 2.262 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/2.387, allocations: 12 kB / 381 MB, free: 2.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/2.387, allocations: 322 kB / 381.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/2.388, allocations: 464.2 kB / 381.8 MB, free: 1.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/2.389, allocations: 460.5 kB / 382.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/2.39, allocations: 373.4 kB / 382.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/2.39, allocations: 0 / 382.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002179/2.392, allocations: 0.9973 MB / 383.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/2.392, allocations: 4 kB / 383.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/2.392, allocations: 0 / 383.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/2.392, allocations: 3.984 kB / 383.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.64e-05/2.392, allocations: 7.984 kB / 383.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/2.392, allocations: 11.84 kB / 383.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/2.393, allocations: 19.98 kB / 383.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/2.393, allocations: 95.92 kB / 383.8 MB, free: 15.51 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],$PRE.dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].x,$PRE.dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,$PRE.dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].x,$PRE.dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 9 * 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.0005772/2.394, allocations: 461.3 kB / 384.2 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/2.394, allocations: 130.5 kB / 384.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/2.395, allocations: 187.6 kB / 384.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/2.395, allocations: 0 / 384.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.395, allocations: 0 / 384.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/2.395, allocations: 0 / 384.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/2.398, allocations: 1.747 MB / 386.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/2.398, allocations: 4 kB / 386.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/2.399, allocations: 4 kB / 386.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/2.399, allocations: 0 / 386.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/2.399, allocations: 39.95 kB / 386.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/2.399, allocations: 3.938 kB / 386.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.399, allocations: 0 / 386.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00254/2.401, allocations: 1.198 MB / 387.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0027/2.404, allocations: 1.601 MB / 389.1 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/2.406, allocations: 0.5147 MB / 389.6 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/2.406, allocations: 67.95 kB / 389.7 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/2.407, allocations: 31.89 kB / 389.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/2.409, allocations: 499.4 kB / 390.2 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/2.409, allocations: 111.9 kB / 390.3 MB, free: 8.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.002565/2.411, allocations: 1.023 MB / 391.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001917/2.413, allocations: 188 kB / 391.5 MB, free: 7.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 39 (addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y,dLATRAM.yy[2],dLATRAM.yy[1],dLATRAM.nextstate[2],dLATRAM.nextstate[1],dLATRAM.mem_word[2],dLATRAM.mem_word[1],dLATRAM.int_addr,dLATRAM.mem[4,2],dLATRAM.mem[4,1],dLATRAM.mem[3,2],dLATRAM.mem[3,1],dLATRAM.mem[2,2],dLATRAM.mem[2,1],dLATRAM.mem[1,2],dLATRAM.mem[1,1],dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATRAM.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 9 * 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.001034/2.415, allocations: 352.2 kB / 391.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002607/2.417, allocations: 1.467 MB / 393.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/2.417, allocations: 4 kB / 393.4 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002245/2.419, allocations: 1.347 MB / 394.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/2.425, allocations: 0.6947 MB / 395.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00698/2.432, allocations: 2.279 MB / 397.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/2.434, allocations: 1.169 MB / 398.8 MB, free: 80 kB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/2.434, allocations: 3.938 kB / 398.8 MB, free: 76 kB / 330.7 MB