Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_2_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.773/1.773, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2429/2.016, allocations: 46.83 MB / 249.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/2.11, allocations: 44.49 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/2.42, allocations: 79.36 MB / 373.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/2.421, allocations: 70.88 kB / 373.3 MB, free: 7.156 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.1379/2.558, allocations: 41.21 MB / 414.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/2.559, allocations: 8 kB / 414.5 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/2.559, allocations: 126.5 kB / 414.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/2.561, allocations: 480.1 kB / 415.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/2.561, allocations: 9.25 kB / 415.1 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/2.561, allocations: 17.5 kB / 415.1 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/2.563, allocations: 462 kB / 415.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/2.565, allocations: 0.5633 MB / 416.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/2.565, allocations: 3.938 kB / 416.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/2.565, allocations: 11.98 kB / 416.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/2.565, allocations: 0 / 416.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/2.569, allocations: 0.9099 MB / 417 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/2.57, allocations: 0.7172 MB / 417.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/2.571, allocations: 0.7038 MB / 418.5 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/2.571, allocations: 7.938 kB / 418.5 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/2.572, allocations: 0.6964 MB / 419.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.886e-06/2.572, allocations: 0 / 419.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002304/2.575, allocations: 1.015 MB / 420.2 MB, free: 1.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002621/2.575, allocations: 334.7 kB / 420.5 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/2.578, allocations: 1.267 MB / 421.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/2.579, allocations: 33.7 kB / 421.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/2.579, allocations: 162 kB / 422 MB, free: 15.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/2.579, allocations: 78.98 kB / 422 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/2.579, allocations: 11.98 kB / 422.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/2.579, allocations: 325.9 kB / 422.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/2.58, allocations: 460.2 kB / 422.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/2.581, allocations: 460.6 kB / 423.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/2.582, allocations: 373.7 kB / 423.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/2.582, allocations: 3.938 kB / 423.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002113/2.584, allocations: 0.9933 MB / 424.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/2.584, allocations: 4 kB / 424.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/2.584, allocations: 0 / 424.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/2.584, allocations: 7.938 kB / 424.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-05/2.584, allocations: 3.984 kB / 424.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/2.584, allocations: 4 kB / 424.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/2.585, allocations: 23.89 kB / 424.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/2.585, allocations: 99.92 kB / 424.8 MB, free: 12.69 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.0005528/2.586, allocations: 452.6 kB / 425.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/2.586, allocations: 130.5 kB / 425.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/2.587, allocations: 191.6 kB / 425.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/2.587, allocations: 0 / 425.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/2.587, allocations: 4 kB / 425.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.587, allocations: 0 / 425.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/2.591, allocations: 1.754 MB / 427.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.591, allocations: 0 / 427.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/2.591, allocations: 3.938 kB / 427.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/2.591, allocations: 7.906 kB / 427.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/2.591, allocations: 39.09 kB / 427.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/2.591, allocations: 0 / 427.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.591, allocations: 0 / 427.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002428/2.593, allocations: 1.194 MB / 428.5 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002656/2.596, allocations: 1.601 MB / 430.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/2.598, allocations: 0.5147 MB / 430.7 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/2.598, allocations: 67.89 kB / 430.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/2.599, allocations: 27.98 kB / 430.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00192/2.601, allocations: 499.4 kB / 431.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/2.601, allocations: 115.4 kB / 431.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.002646/2.604, allocations: 1.027 MB / 432.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002062/2.606, allocations: 188 kB / 432.6 MB, free: 4.75 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.001088/2.607, allocations: 355.6 kB / 432.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002612/2.609, allocations: 1.464 MB / 434.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/2.609, allocations: 4 kB / 434.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/2.612, allocations: 1.351 MB / 435.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/2.617, allocations: 0.687 MB / 436.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/2.623, allocations: 2.267 MB / 438.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/2.625, allocations: 1.169 MB / 439.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/2.625, allocations: 4 kB / 439.8 MB, free: 13.29 MB / 346.7 MB