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.1_cpp_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 2.185/2.185, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.51e-05, allocations: 4 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09053, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002392/0.09298, allocations: 1.304 MB / 268.2 MB, free: 15.8 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004562/0.09761, allocations: 1.739 MB / 269.9 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.09785, allocations: 3.938 kB / 269.9 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.09816, allocations: 27.84 kB / 270 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.09836, allocations: 51.89 kB / 270 MB, free: 13.97 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.09904, allocations: 139.6 kB / 270.2 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.09939, allocations: 131.7 kB / 270.3 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.09955, allocations: 32.16 kB / 270.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.1004, allocations: 0.5069 MB / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.1009, allocations: 163.8 kB / 271 MB, free: 13.01 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.1014, allocations: 127.8 kB / 271.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.1015, allocations: 16 kB / 271.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.1018, allocations: 235.2 kB / 271.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.1021, allocations: 44 kB / 271.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1035, allocations: 0.924 MB / 272.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1035, allocations: 0 / 272.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1036, allocations: 0 / 272.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.1036, allocations: 0 / 272.3 MB, free: 11.67 MB / 234.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.001959/0.1056, allocations: 1.302 MB / 273.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.1056, allocations: 8.031 kB / 273.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.106, allocations: 126.5 kB / 273.7 MB, free: 10.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.1069, allocations: 492.3 kB / 274.2 MB, free: 9.598 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.107, allocations: 16 kB / 274.2 MB, free: 9.582 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/0.1071, allocations: 19.98 kB / 274.3 MB, free: 9.562 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.1085, allocations: 0.5832 MB / 274.8 MB, free: 8.973 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1085, allocations: 0 / 274.8 MB, free: 8.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.1086, allocations: 12 kB / 274.9 MB, free: 8.961 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1086, allocations: 0 / 274.9 MB, free: 8.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1096, allocations: 475.7 kB / 275.3 MB, free: 8.496 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.1121, allocations: 0.9272 MB / 276.3 MB, free: 7.523 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.1136, allocations: 0.7288 MB / 277 MB, free: 6.785 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1136, allocations: 4 kB / 277 MB, free: 6.781 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/0.1151, allocations: 0.7359 MB / 277.7 MB, free: 6.008 MB / 234.7 MB Notification: Performance of pre-optimization done (n=41): time 3.186e-06/0.1151, allocations: 3.938 kB / 277.7 MB, free: 6.004 MB / 234.7 MB Notification: Performance of matching and sorting (n=41): time 0.004516/0.1196, allocations: 2.306 MB / 280 MB, free: 3.578 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002585/0.12, allocations: 330.7 kB / 280.4 MB, free: 3.188 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.123, allocations: 1.309 MB / 281.7 MB, free: 1.871 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.1233, allocations: 45.69 kB / 281.7 MB, free: 1.82 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.1236, allocations: 288.4 kB / 282 MB, free: 1.535 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1238, allocations: 86.91 kB / 282.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.1239, allocations: 12 kB / 282.1 MB, free: 1.438 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.124, allocations: 326.8 kB / 282.4 MB, free: 1.109 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009804/0.125, allocations: 468.1 kB / 282.9 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/0.126, allocations: 496.5 kB / 283.3 MB, free: 160 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1272, allocations: 0.6514 MB / 284 MB, free: 15.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1272, allocations: 0 / 284 MB, free: 15.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002932/0.1302, allocations: 1.485 MB / 285.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.1305, allocations: 299.3 kB / 285.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1305, allocations: 8 kB / 285.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.1306, allocations: 0 / 285.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.1306, allocations: 7.938 kB / 285.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1307, allocations: 3.938 kB / 285.8 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.1314, allocations: 35.83 kB / 285.8 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/0.1317, allocations: 107.9 kB / 285.9 MB, free: 13.39 MB / 250.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.001677/0.1333, allocations: 0.865 MB / 286.8 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.1337, allocations: 130.5 kB / 286.9 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.1342, allocations: 183.9 kB / 287.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1342, allocations: 4 kB / 287.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1342, allocations: 0 / 287.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1342, allocations: 0 / 287.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.1392, allocations: 2.44 MB / 289.5 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.1393, allocations: 11.95 kB / 289.6 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.1393, allocations: 4 kB / 289.6 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1394, allocations: 0 / 289.6 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.1395, allocations: 35.97 kB / 289.6 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1395, allocations: 0 / 289.6 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1395, allocations: 0 / 289.6 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.1434, allocations: 1.838 MB / 291.4 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.145, allocations: 0.5029 MB / 291.9 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.1453, allocations: 63.95 kB / 292 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.146, allocations: 27.97 kB / 292 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/0.1481, allocations: 0.6319 MB / 292.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.1484, allocations: 103.9 kB / 292.8 MB, free: 6.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00258/0.151, allocations: 1.082 MB / 293.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.151, allocations: 0 / 293.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001032/0.1521, allocations: 187.9 kB / 294 MB, free: 5.023 MB / 250.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.001026/0.1531, allocations: 355.8 kB / 294.4 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003472/0.1566, allocations: 2.088 MB / 296.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1566, allocations: 0 / 296.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.159, allocations: 1.588 MB / 298.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/0.1639, allocations: 0.7181 MB / 298.8 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2253/0.3892, allocations: 2.913 MB / 301.7 MB, free: 30.47 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.3907, allocations: 1.148 MB / 302.8 MB, free: 29.72 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.3908, allocations: 25 kB / 302.9 MB, free: 29.71 MB / 250.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3909, allocations: 0 / 302.9 MB, free: 29.71 MB / 250.7 MB Notification: Performance of Templates: time 0.03378/0.4247, allocations: 13.61 MB / 316.5 MB, free: 23.46 MB / 250.7 MB