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_trunk_cpp_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.5e-05, allocations: 0 / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002345/0.1113, allocations: 1.33 MB / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.1159, allocations: 1.737 MB / 348 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1161, allocations: 0 / 348 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.1163, allocations: 23.84 kB / 348.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1165, allocations: 51.95 kB / 348.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.1171, allocations: 131.6 kB / 348.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1174, allocations: 131.7 kB / 348.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1176, allocations: 36.17 kB / 348.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000867/0.1184, allocations: 0.5069 MB / 348.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.1189, allocations: 171.7 kB / 349.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.1193, allocations: 115.9 kB / 349.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1195, allocations: 16 kB / 349.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.1198, allocations: 235.2 kB / 349.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.12, allocations: 43.94 kB / 349.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1214, allocations: 0.9277 MB / 350.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1215, allocations: 0 / 350.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1215, allocations: 3.938 kB / 350.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.1215, allocations: 0 / 350.4 MB, free: 3.469 MB / 282.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.001811/0.1233, allocations: 1.31 MB / 351.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1234, allocations: 8.031 kB / 351.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.1237, allocations: 122.5 kB / 351.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000903/0.1246, allocations: 484.4 kB / 352.3 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.1247, allocations: 23.98 kB / 352.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.1248, allocations: 16 kB / 352.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.1261, allocations: 0.5871 MB / 352.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1262, allocations: 0 / 352.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.1262, allocations: 8 kB / 353 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.1263, allocations: 3.984 kB / 353 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009928/0.1273, allocations: 478.2 kB / 353.4 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.1294, allocations: 0.9194 MB / 354.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.1307, allocations: 0.7288 MB / 355.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1307, allocations: 4 kB / 355.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.132, allocations: 0.7243 MB / 355.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 2.595e-06/0.1321, allocations: 0 / 355.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.004447/0.1365, allocations: 2.306 MB / 358.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002522/0.1368, allocations: 338.7 kB / 358.4 MB, free: 11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.1398, allocations: 1.317 MB / 359.8 MB, free: 9.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.14, allocations: 45.69 kB / 359.8 MB, free: 9.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.1403, allocations: 280.6 kB / 360.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.1404, allocations: 86.91 kB / 360.2 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.1405, allocations: 12 kB / 360.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1407, allocations: 330.8 kB / 360.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009977/0.1417, allocations: 464.1 kB / 360.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.1427, allocations: 499.1 kB / 361.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.1438, allocations: 0.6553 MB / 362.1 MB, free: 7.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1438, allocations: 0 / 362.1 MB, free: 7.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002871/0.1467, allocations: 1.481 MB / 363.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002861/0.147, allocations: 307.2 kB / 363.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1471, allocations: 0 / 363.9 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1471, allocations: 4.062 kB / 363.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.698e-05/0.1471, allocations: 4 kB / 363.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1472, allocations: 0 / 363.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.1478, allocations: 39.78 kB / 363.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.1481, allocations: 103.9 kB / 364 MB, free: 5.207 MB / 298.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.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,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.001669/0.1497, allocations: 0.8611 MB / 364.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.1501, allocations: 130.5 kB / 365 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.1506, allocations: 183.9 kB / 365.2 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1506, allocations: 4 kB / 365.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1507, allocations: 3.938 kB / 365.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1507, allocations: 3.984 kB / 365.2 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.1559, allocations: 2.448 MB / 367.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.156, allocations: 4 kB / 367.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.156, allocations: 0 / 367.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.156, allocations: 0 / 367.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.1561, allocations: 35.98 kB / 367.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1562, allocations: 0 / 367.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1562, allocations: 3.953 kB / 367.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.16, allocations: 1.842 MB / 369.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/0.1615, allocations: 0.4991 MB / 370 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.162, allocations: 63.95 kB / 370.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.1626, allocations: 35.88 kB / 370.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002211/0.1649, allocations: 0.628 MB / 370.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/0.1651, allocations: 107.8 kB / 370.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003821/0.169, allocations: 1.086 MB / 371.9 MB, free: 13 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.169, allocations: 0 / 371.9 MB, free: 13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001042/0.1701, allocations: 187.9 kB / 372.1 MB, free: 12.82 MB / 314.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.001008/0.1711, allocations: 351.6 kB / 372.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.1746, allocations: 2.096 MB / 374.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1747, allocations: 4 kB / 374.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.177, allocations: 1.588 MB / 376.2 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.1818, allocations: 0.7157 MB / 376.9 MB, free: 7.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.1879, allocations: 2.923 MB / 379.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.1893, allocations: 1.154 MB / 381 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.1893, allocations: 27.38 kB / 381 MB, free: 3.727 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1894, allocations: 0 / 381 MB, free: 3.727 MB / 314.7 MB Notification: Performance of Templates: time 0.03208/0.2214, allocations: 13.62 MB / 394.6 MB, free: 6.07 MB / 330.7 MB