Running command: translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.014e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0791/0.07915, allocations: 44.51 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4258, allocations: 80.05 MB / 379.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.426, allocations: 73.47 kB / 380 MB, free: 21.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1433/0.5693, allocations: 39.24 MB / 419.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5694, allocations: 3.938 kB / 419.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.015e-05/0.5694, allocations: 15.72 kB / 419.3 MB, free: 12.52 MB / 314.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.001353/0.5708, allocations: 1.333 MB / 420.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5708, allocations: 11.72 kB / 420.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.571, allocations: 124.8 kB / 420.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.5717, allocations: 471.4 kB / 421.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.5718, allocations: 19.42 kB / 421.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.5719, allocations: 22.44 kB / 421.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.5727, allocations: 0.5826 MB / 421.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5728, allocations: 0 / 421.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.5728, allocations: 7.812 kB / 421.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-06/0.5729, allocations: 0 / 421.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.5735, allocations: 462.5 kB / 422.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.5753, allocations: 0.9179 MB / 423.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.5762, allocations: 0.7168 MB / 423.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/0.577, allocations: 0.7062 MB / 424.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.366e-06/0.577, allocations: 4 kB / 424.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008874/0.5779, allocations: 0.7286 MB / 425.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 4.184e-06/0.5779, allocations: 0 / 425.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002177/0.5801, allocations: 1.563 MB / 426.9 MB, free: 9.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5803, allocations: 333.8 kB / 427.2 MB, free: 8.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.5827, allocations: 1.305 MB / 428.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.5828, allocations: 41.31 kB / 428.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.5831, allocations: 283 kB / 428.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.5832, allocations: 89.25 kB / 428.9 MB, free: 8.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.5833, allocations: 11.41 kB / 429 MB, free: 8.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.5834, allocations: 317.5 kB / 429.3 MB, free: 8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.584, allocations: 467 kB / 429.7 MB, free: 7.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.5846, allocations: 462.6 kB / 430.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.5853, allocations: 0.6562 MB / 430.8 MB, free: 7.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.62e-06/0.5854, allocations: 0 / 430.8 MB, free: 7.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002032/0.5874, allocations: 1.523 MB / 432.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.5876, allocations: 309.8 kB / 432.7 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.786e-06/0.5876, allocations: 0 / 432.7 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5877, allocations: 4 kB / 432.7 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.667e-05/0.5877, allocations: 7.844 kB / 432.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.891e-06/0.5877, allocations: 0 / 432.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.5884, allocations: 31.33 kB / 432.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.5886, allocations: 104.7 kB / 432.8 MB, free: 6.715 MB / 314.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.000589/0.5893, allocations: 467.6 kB / 433.3 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.5896, allocations: 130.6 kB / 433.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.5904, allocations: 190.8 kB / 433.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-06/0.5904, allocations: 0 / 433.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5905, allocations: 0 / 433.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5905, allocations: 4 kB / 433.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005628/0.5961, allocations: 2.419 MB / 436 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.486e-06/0.5962, allocations: 3.938 kB / 436 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.5962, allocations: 3.984 kB / 436 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.5963, allocations: 3.953 kB / 436 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.5964, allocations: 35.98 kB / 436 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.299e-06/0.5964, allocations: 4 kB / 436 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.178e-06/0.5965, allocations: 8 kB / 436.1 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.6004, allocations: 1.83 MB / 437.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/0.6022, allocations: 0.503 MB / 438.4 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/0.6027, allocations: 63.91 kB / 438.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.6033, allocations: 27.98 kB / 438.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/0.6046, allocations: 0.6319 MB / 439.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.6048, allocations: 111.9 kB / 439.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002165/0.607, allocations: 1.068 MB / 440.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.084e-06/0.607, allocations: 0 / 440.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001009/0.608, allocations: 191.9 kB / 440.5 MB, free: 15.27 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.0009576/0.609, allocations: 362.5 kB / 440.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.6118, allocations: 2.076 MB / 442.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.902e-06/0.6119, allocations: 4 kB / 442.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.6139, allocations: 1.58 MB / 444.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.6171, allocations: 0.7178 MB / 445.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.6218, allocations: 2.261 MB / 447.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.6231, allocations: 1.151 MB / 448.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.6236, allocations: 70.86 kB / 448.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.6236, allocations: 23.44 kB / 448.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6236, allocations: 3.938 kB / 448.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of Templates: time 0.0447/0.6683, allocations: 20.94 MB / 469.7 MB, free: 1.582 MB / 346.7 MB