Running command: translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.064e-05, allocations: 4.984 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.5186, allocations: 86.3 MB / 428.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5188, allocations: 70.22 kB / 428.9 MB, free: 7.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1322/0.6511, allocations: 39.8 MB / 468.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.633e-06/0.6511, allocations: 3.938 kB / 468.7 MB, free: 5.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.6512, allocations: 12 kB / 468.7 MB, free: 5.027 MB / 378.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.001746/0.6529, allocations: 1.347 MB / 470.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.653, allocations: 8.031 kB / 470.1 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.6532, allocations: 126.8 kB / 470.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.654, allocations: 476.6 kB / 470.7 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.6541, allocations: 12 kB / 470.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.6542, allocations: 24 kB / 470.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6553, allocations: 0.5677 MB / 471.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6553, allocations: 0 / 471.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.6554, allocations: 15.95 kB / 471.3 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6554, allocations: 0 / 471.3 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.6562, allocations: 459.8 kB / 471.7 MB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.6582, allocations: 0.9233 MB / 472.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.6594, allocations: 0.7249 MB / 473.4 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.6604, allocations: 0.7077 MB / 474.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.6604, allocations: 4 kB / 474.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.6616, allocations: 0.7244 MB / 474.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 3.459e-06/0.6616, allocations: 0 / 474.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.002649/0.6643, allocations: 1.565 MB / 476.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002681/0.6646, allocations: 338.7 kB / 476.7 MB, free: 12.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.6671, allocations: 1.299 MB / 478 MB, free: 11.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.6673, allocations: 33.7 kB / 478 MB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.6676, allocations: 288.5 kB / 478.3 MB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6677, allocations: 90.95 kB / 478.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.6678, allocations: 8 kB / 478.4 MB, free: 10.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.668, allocations: 334.7 kB / 478.8 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.6688, allocations: 464.2 kB / 479.2 MB, free: 10.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.6696, allocations: 464.5 kB / 479.7 MB, free: 9.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009042/0.6705, allocations: 0.6494 MB / 480.3 MB, free: 8.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-06/0.6705, allocations: 0 / 480.3 MB, free: 8.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002456/0.673, allocations: 1.47 MB / 481.8 MB, free: 7.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.6733, allocations: 303.2 kB / 482.1 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.809e-06/0.6733, allocations: 0 / 482.1 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6733, allocations: 0 / 482.1 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.943e-05/0.6734, allocations: 4 kB / 482.1 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.6734, allocations: 4 kB / 482.1 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.6739, allocations: 35.83 kB / 482.1 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.6741, allocations: 107.9 kB / 482.2 MB, free: 6.938 MB / 394.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.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,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],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.0005598/0.6747, allocations: 481.3 kB / 482.7 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.6749, allocations: 130.5 kB / 482.8 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.6755, allocations: 187.6 kB / 483 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-06/0.6755, allocations: 7.938 kB / 483 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-06/0.6755, allocations: 0 / 483 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-06/0.6755, allocations: 0 / 483 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.6796, allocations: 2.42 MB / 485.4 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-06/0.6796, allocations: 0 / 485.4 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.6797, allocations: 0 / 485.4 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.654e-06/0.6797, allocations: 3.984 kB / 485.4 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.6798, allocations: 35.98 kB / 485.5 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.903e-06/0.6798, allocations: 0 / 485.5 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.327e-06/0.6798, allocations: 4 kB / 485.5 MB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.6828, allocations: 1.834 MB / 487.3 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.6841, allocations: 0.4991 MB / 487.8 MB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.6844, allocations: 63.95 kB / 487.9 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.6848, allocations: 31.98 kB / 487.9 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001488/0.6863, allocations: 0.6242 MB / 488.5 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.6866, allocations: 111.9 kB / 488.6 MB, free: 268 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00224/0.6888, allocations: 1.068 MB / 489.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.035e-06/0.6888, allocations: 0 / 489.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009371/0.6898, allocations: 199.9 kB / 489.9 MB, free: 14.99 MB / 410.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.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,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],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.000946/0.6907, allocations: 373.2 kB / 490.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.6936, allocations: 2.076 MB / 492.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.522e-06/0.6936, allocations: 0 / 492.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.6956, allocations: 1.58 MB / 493.9 MB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.6987, allocations: 0.72 MB / 494.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.7036, allocations: 2.356 MB / 497 MB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.7049, allocations: 1.151 MB / 498.1 MB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.705, allocations: 23.44 kB / 498.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.328e-06/0.705, allocations: 0 / 498.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of Templates: time 0.02667/0.7317, allocations: 13.57 MB / 0.4997 GB, free: 8.871 MB / 426.7 MB