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.907/1.907, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.963e-05, allocations: 7.984 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 44.51 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002061/0.2905, allocations: 1.3 MB / 304.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.2949, allocations: 1.764 MB / 306.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2951, allocations: 3.156 kB / 306.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.2954, allocations: 21.98 kB / 306.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.2955, allocations: 54.66 kB / 306.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.2961, allocations: 135.6 kB / 306.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2964, allocations: 135.7 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2965, allocations: 28.17 kB / 306.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000797/0.2973, allocations: 0.5031 MB / 307.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.2977, allocations: 175.7 kB / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.2981, allocations: 115.8 kB / 307.5 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.2982, allocations: 20 kB / 307.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.2985, allocations: 243.2 kB / 307.8 MB, free: 9.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.2987, allocations: 40 kB / 307.8 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.2999, allocations: 0.9223 MB / 308.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3, allocations: 0 / 308.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3, allocations: 0 / 308.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3, allocations: 0 / 308.8 MB, free: 8.145 MB / 250.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.001528/0.3015, allocations: 1.298 MB / 310.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3016, allocations: 8.031 kB / 310.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.3018, allocations: 130.5 kB / 310.2 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.3026, allocations: 496.1 kB / 310.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.3027, allocations: 19.94 kB / 310.7 MB, free: 6.051 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.3028, allocations: 20 kB / 310.7 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.3041, allocations: 0.5793 MB / 311.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3041, allocations: 0 / 311.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.3042, allocations: 15.95 kB / 311.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3042, allocations: 0 / 311.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.3052, allocations: 475.8 kB / 311.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3072, allocations: 0.9194 MB / 312.7 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.3085, allocations: 0.7327 MB / 313.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3085, allocations: 4 kB / 313.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.3098, allocations: 0.7323 MB / 314.2 MB, free: 2.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 5.431e-06/0.3099, allocations: 3.984 kB / 314.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=41): time 0.004131/0.314, allocations: 2.311 MB / 316.5 MB, free: 52 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002467/0.3143, allocations: 330.7 kB / 316.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.3171, allocations: 1.309 MB / 318.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.3172, allocations: 45.69 kB / 318.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.3176, allocations: 278 kB / 318.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3177, allocations: 94.89 kB / 318.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.3178, allocations: 12 kB / 318.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3179, allocations: 321.9 kB / 318.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009453/0.3189, allocations: 468.1 kB / 319.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009375/0.3199, allocations: 0.491 MB / 319.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3209, allocations: 0.6513 MB / 320.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3209, allocations: 0 / 320.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002873/0.3238, allocations: 1.538 MB / 322 MB, free: 10.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.3241, allocations: 307.2 kB / 322.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3241, allocations: 4.062 kB / 322.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3242, allocations: 0 / 322.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.3242, allocations: 4 kB / 322.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3242, allocations: 0 / 322.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.3249, allocations: 31.98 kB / 322.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.3251, allocations: 95.92 kB / 322.4 MB, free: 9.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dLATRAM.inertialDelaySensitive[2].y,$PRE.dLATRAM.inertialDelaySensitive[1].y,$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,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,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.00155/0.3267, allocations: 0.8755 MB / 323.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.327, allocations: 126.5 kB / 323.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.3274, allocations: 191.8 kB / 323.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3274, allocations: 4 kB / 323.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3274, allocations: 0 / 323.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3275, allocations: 3.984 kB / 323.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.332, allocations: 2.439 MB / 326.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.332, allocations: 0 / 326.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.3321, allocations: 4 kB / 326.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3321, allocations: 3.938 kB / 326.1 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.3322, allocations: 31.98 kB / 326.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3322, allocations: 0 / 326.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3322, allocations: 0 / 326.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.3356, allocations: 1.85 MB / 327.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.3369, allocations: 0.503 MB / 328.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/0.3373, allocations: 59.97 kB / 328.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.3378, allocations: 27.97 kB / 328.5 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002059/0.3399, allocations: 0.6397 MB / 329.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/0.3401, allocations: 107.9 kB / 329.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002376/0.3425, allocations: 1.082 MB / 330.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3425, allocations: 0 / 330.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009055/0.3435, allocations: 180 kB / 330.5 MB, free: 1.441 MB / 266.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.000908/0.3444, allocations: 345.5 kB / 330.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.3476, allocations: 2.092 MB / 333 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3476, allocations: 0 / 333 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.3498, allocations: 1.596 MB / 334.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/0.3545, allocations: 0.7231 MB / 335.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.3602, allocations: 2.835 MB / 338.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.3615, allocations: 1.143 MB / 339.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.3619, allocations: 74.84 kB / 339.3 MB, free: 8.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3619, allocations: 27.44 kB / 339.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.3619, allocations: 0 / 339.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of Templates: time 0.04656/0.4085, allocations: 20.91 MB / 360.3 MB, free: 3.184 MB / 298.7 MB