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.3_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.815e-05, allocations: 4 kB / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09131, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.4902, allocations: 84.98 MB / 401.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4905, allocations: 72.58 kB / 402 MB, free: 3.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1483/0.6388, allocations: 39.37 MB / 441.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6389, allocations: 0 / 441.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.999e-05/0.6389, allocations: 12 kB / 441.4 MB, free: 2.848 MB / 346.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.001764/0.6407, allocations: 1.342 MB / 442.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6407, allocations: 8.031 kB / 442.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.641, allocations: 126.5 kB / 442.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.6418, allocations: 466.3 kB / 443.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.6419, allocations: 23.61 kB / 443.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.642, allocations: 19.97 kB / 443.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.643, allocations: 0.5766 MB / 443.9 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.6431, allocations: 3.938 kB / 443.9 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.6431, allocations: 15.55 kB / 443.9 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-06/0.6432, allocations: 4 kB / 443.9 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.6439, allocations: 453.1 kB / 444.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.646, allocations: 0.9079 MB / 445.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.6471, allocations: 0.7212 MB / 446 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.6482, allocations: 0.7193 MB / 446.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.6482, allocations: 0 / 446.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.6494, allocations: 0.732 MB / 447.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.37e-06/0.6494, allocations: 0 / 447.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002652/0.6521, allocations: 1.565 MB / 449 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/0.6524, allocations: 334.7 kB / 449.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.655, allocations: 1.307 MB / 450.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.6552, allocations: 37.7 kB / 450.7 MB, free: 9.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.6555, allocations: 286 kB / 451 MB, free: 9.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.6557, allocations: 86.91 kB / 451 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.6558, allocations: 8 kB / 451.1 MB, free: 9.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6559, allocations: 322 kB / 451.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007868/0.6567, allocations: 464.2 kB / 451.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.6575, allocations: 472.3 kB / 452.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/0.6585, allocations: 0.6454 MB / 452.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.597e-06/0.6585, allocations: 0 / 452.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003035/0.6616, allocations: 1.527 MB / 454.5 MB, free: 5.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.6619, allocations: 307.2 kB / 454.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.219e-06/0.6619, allocations: 0 / 454.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6619, allocations: 0 / 454.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.892e-05/0.662, allocations: 4 kB / 454.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.662, allocations: 3.953 kB / 454.8 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.6625, allocations: 39.88 kB / 454.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.6627, allocations: 99.94 kB / 454.9 MB, free: 5.145 MB / 362.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.0005628/0.6633, allocations: 477.4 kB / 455.4 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.6635, allocations: 130.5 kB / 455.5 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.6641, allocations: 183.6 kB / 455.7 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-06/0.6641, allocations: 4 kB / 455.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-06/0.6641, allocations: 4 kB / 455.7 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.28e-06/0.6641, allocations: 7.938 kB / 455.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.6682, allocations: 2.408 MB / 458.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.933e-06/0.6683, allocations: 0 / 458.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.6683, allocations: 0 / 458.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.264e-06/0.6683, allocations: 0 / 458.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.6684, allocations: 35.98 kB / 458.1 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.875e-06/0.6684, allocations: 7.938 kB / 458.1 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.231e-06/0.6684, allocations: 11.89 kB / 458.2 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.6714, allocations: 1.818 MB / 460 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.6726, allocations: 0.4991 MB / 460.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.6729, allocations: 63.95 kB / 460.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.6733, allocations: 27.97 kB / 460.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/0.6749, allocations: 0.6396 MB / 461.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/0.6751, allocations: 107.9 kB / 461.3 MB, free: 14.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002153/0.6773, allocations: 1.068 MB / 462.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6773, allocations: 0 / 462.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000861/0.6782, allocations: 195.9 kB / 462.6 MB, free: 13.21 MB / 378.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.0009043/0.6791, allocations: 365.1 kB / 462.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.6819, allocations: 2.08 MB / 465 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.318e-06/0.6819, allocations: 0 / 465 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.6839, allocations: 1.588 MB / 466.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.687, allocations: 0.7187 MB / 467.3 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.6917, allocations: 2.273 MB / 469.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.6938, allocations: 1.147 MB / 470.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005685/0.6944, allocations: 70.81 kB / 470.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.6945, allocations: 23.44 kB / 470.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of SimCode: time 2.019e-06/0.6945, allocations: 0 / 470.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of Templates: time 0.05219/0.7467, allocations: 20.95 MB / 491.8 MB, free: 15.51 MB / 410.7 MB