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_4.0.0_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 2.3/2.3, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.755e-05, allocations: 6.031 kB / 292.1 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.08996, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/0.5129, allocations: 86.24 MB / 428.8 MB, free: 7.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.5134, allocations: 68.53 kB / 428.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1861/0.6995, allocations: 39.81 MB / 468.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.104e-06/0.6995, allocations: 0 / 468.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.317e-05/0.6996, allocations: 15.94 kB / 468.7 MB, free: 4.734 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.00179/0.7014, allocations: 1.351 MB / 470 MB, free: 3.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7015, allocations: 8.031 kB / 470 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.7017, allocations: 126.8 kB / 470.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.7026, allocations: 464.7 kB / 470.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.7027, allocations: 20 kB / 470.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.7028, allocations: 20 kB / 470.7 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.7038, allocations: 0.5677 MB / 471.2 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7039, allocations: 0 / 471.2 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.7039, allocations: 15.95 kB / 471.2 MB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.302e-06/0.704, allocations: 4 kB / 471.2 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.7047, allocations: 455.8 kB / 471.7 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.7068, allocations: 0.9194 MB / 472.6 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.7079, allocations: 0.7288 MB / 473.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.709, allocations: 0.7116 MB / 474.1 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.709, allocations: 3.938 kB / 474.1 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.7102, allocations: 0.7244 MB / 474.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 3.574e-06/0.7102, allocations: 0 / 474.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.00266/0.7128, allocations: 1.569 MB / 476.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.7132, allocations: 334.7 kB / 476.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.7158, allocations: 1.299 MB / 478 MB, free: 11.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.716, allocations: 33.7 kB / 478 MB, free: 11.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.7163, allocations: 286 kB / 478.3 MB, free: 10.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.7165, allocations: 90.89 kB / 478.4 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.7165, allocations: 12 kB / 478.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7167, allocations: 321.9 kB / 478.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/0.7176, allocations: 468.2 kB / 479.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.7184, allocations: 460.6 kB / 479.6 MB, free: 9.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.7193, allocations: 0.6494 MB / 480.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.165e-06/0.7193, allocations: 4 kB / 480.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002497/0.7218, allocations: 1.523 MB / 481.8 MB, free: 7.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.7222, allocations: 303.2 kB / 482.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.431e-06/0.7222, allocations: 0 / 482.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.7222, allocations: 0 / 482.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.893e-05/0.7222, allocations: 3.938 kB / 482.1 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.106e-06/0.7223, allocations: 4 kB / 482.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.7228, allocations: 39.89 kB / 482.1 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.723, allocations: 107.9 kB / 482.2 MB, free: 6.594 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.0005512/0.7235, allocations: 473.3 kB / 482.7 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.7238, allocations: 130.5 kB / 482.8 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.7243, allocations: 187.6 kB / 483 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-06/0.7244, allocations: 8 kB / 483 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.7244, allocations: 0 / 483 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-06/0.7244, allocations: 0 / 483 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.7284, allocations: 2.412 MB / 485.4 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.421e-06/0.7285, allocations: 0 / 485.4 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.7285, allocations: 7.984 kB / 485.4 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.639e-06/0.7285, allocations: 0 / 485.4 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-05/0.7286, allocations: 39.97 kB / 485.5 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.912e-06/0.7286, allocations: 0 / 485.5 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.107e-06/0.7287, allocations: 0 / 485.5 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.7316, allocations: 1.834 MB / 487.3 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.7328, allocations: 0.4913 MB / 487.8 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.7331, allocations: 67.95 kB / 487.9 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.7336, allocations: 35.95 kB / 487.9 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/0.7351, allocations: 0.6281 MB / 488.5 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.7353, allocations: 107.9 kB / 488.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002215/0.7375, allocations: 1.072 MB / 489.7 MB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.078e-06/0.7376, allocations: 0 / 489.7 MB, free: 14.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009531/0.7385, allocations: 199.9 kB / 489.9 MB, free: 14.65 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.0009448/0.7395, allocations: 374.6 kB / 490.3 MB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.7423, allocations: 2.079 MB / 492.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.601e-06/0.7424, allocations: 0 / 492.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.7444, allocations: 1.58 MB / 493.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.7475, allocations: 0.7256 MB / 494.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.7521, allocations: 2.275 MB / 496.9 MB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.7535, allocations: 1.147 MB / 498.1 MB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.7539, allocations: 74.81 kB / 498.1 MB, free: 6.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.7539, allocations: 19.44 kB / 498.2 MB, free: 6.168 MB / 410.7 MB Notification: Performance of SimCode: time 1.665e-06/0.7539, allocations: 0 / 498.2 MB, free: 6.168 MB / 410.7 MB Notification: Performance of Templates: time 0.04459/0.7985, allocations: 20.94 MB / 0.5069 GB, free: 1.23 MB / 426.7 MB