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_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 185.7 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.547e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08826, allocations: 38.75 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002201/0.09053, allocations: 1.318 MB / 268.2 MB, free: 15.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004433/0.095, allocations: 1.733 MB / 270 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.0952, allocations: 7.938 kB / 270 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.09547, allocations: 19.84 kB / 270 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.09566, allocations: 55.89 kB / 270 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.09627, allocations: 139.6 kB / 270.2 MB, free: 13.2 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.09656, allocations: 135.7 kB / 270.3 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.09671, allocations: 40.08 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008483/0.09758, allocations: 0.4992 MB / 270.8 MB, free: 12.53 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.09799, allocations: 167.8 kB / 271 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.09846, allocations: 127.8 kB / 271.1 MB, free: 12.24 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.09861, allocations: 16 kB / 271.1 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.09894, allocations: 231.2 kB / 271.4 MB, free: 12 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.09918, allocations: 44 kB / 271.4 MB, free: 11.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1005, allocations: 0.9279 MB / 272.3 MB, free: 11.02 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1005, allocations: 0 / 272.3 MB, free: 11.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1005, allocations: 0 / 272.3 MB, free: 11.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.1006, allocations: 0 / 272.3 MB, free: 11.02 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.001753/0.1023, allocations: 1.298 MB / 273.6 MB, free: 9.621 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1024, allocations: 12.03 kB / 273.7 MB, free: 9.609 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.1027, allocations: 118.5 kB / 273.8 MB, free: 9.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.1036, allocations: 492.3 kB / 274.2 MB, free: 8.961 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.1037, allocations: 16 kB / 274.3 MB, free: 8.945 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.1038, allocations: 19.98 kB / 274.3 MB, free: 8.926 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.1051, allocations: 0.5832 MB / 274.9 MB, free: 8.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1052, allocations: 0 / 274.9 MB, free: 8.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.1052, allocations: 12 kB / 274.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1053, allocations: 7.938 kB / 274.9 MB, free: 8.316 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.1062, allocations: 467.8 kB / 275.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.1084, allocations: 0.9272 MB / 276.3 MB, free: 6.887 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1098, allocations: 0.7327 MB / 277 MB, free: 6.145 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1098, allocations: 0 / 277 MB, free: 6.145 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.1113, allocations: 0.7398 MB / 277.7 MB, free: 5.367 MB / 234.7 MB Notification: Performance of pre-optimization done (n=41): time 4.028e-06/0.1113, allocations: 0 / 277.7 MB, free: 5.367 MB / 234.7 MB Notification: Performance of matching and sorting (n=41): time 0.004505/0.1158, allocations: 2.298 MB / 280 MB, free: 2.949 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000269/0.1161, allocations: 334.8 kB / 280.4 MB, free: 2.555 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/0.1193, allocations: 1.313 MB / 281.7 MB, free: 1.234 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.1195, allocations: 41.69 kB / 281.7 MB, free: 1.188 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.1199, allocations: 289.9 kB / 282 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.12, allocations: 86.91 kB / 282.1 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1201, allocations: 8 kB / 282.1 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1203, allocations: 322 kB / 282.4 MB, free: 496 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/0.1213, allocations: 464.1 kB / 282.9 MB, free: 28 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.1223, allocations: 0.4931 MB / 283.4 MB, free: 15.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1235, allocations: 0.6475 MB / 284 MB, free: 14.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.1235, allocations: 4 kB / 284 MB, free: 14.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003686/0.1272, allocations: 1.538 MB / 285.5 MB, free: 13.22 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.1276, allocations: 303.2 kB / 285.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1276, allocations: 4.062 kB / 285.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.1277, allocations: 4 kB / 285.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.1277, allocations: 7.875 kB / 285.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1277, allocations: 4 kB / 285.9 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.1284, allocations: 35.81 kB / 285.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.1287, allocations: 103.9 kB / 286 MB, free: 12.71 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.001524/0.1302, allocations: 0.865 MB / 286.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.1305, allocations: 130.5 kB / 287 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.1309, allocations: 187.8 kB / 287.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1309, allocations: 0 / 287.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.131, allocations: 0 / 287.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.131, allocations: 0 / 287.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006253/0.1372, allocations: 2.444 MB / 289.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.1373, allocations: 7.953 kB / 289.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.1373, allocations: 4 kB / 289.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.1374, allocations: 4 kB / 289.6 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.1375, allocations: 35.95 kB / 289.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.1376, allocations: 4 kB / 289.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1376, allocations: 3.938 kB / 289.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/0.1423, allocations: 1.834 MB / 291.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/0.1442, allocations: 0.4991 MB / 292 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/0.1447, allocations: 67.95 kB / 292.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.1454, allocations: 27.98 kB / 292.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002756/0.1482, allocations: 0.6241 MB / 292.7 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/0.1485, allocations: 107.9 kB / 292.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.003595/0.1521, allocations: 1.082 MB / 293.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1522, allocations: 0 / 293.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001443/0.1536, allocations: 180 kB / 294.1 MB, free: 4.344 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.001371/0.155, allocations: 363.7 kB / 294.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004643/0.1597, allocations: 2.092 MB / 296.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1597, allocations: 0 / 296.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.1627, allocations: 1.588 MB / 298.1 MB, free: 112 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2415/0.4043, allocations: 0.7077 MB / 298.8 MB, free: 32.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.4103, allocations: 2.838 MB / 301.7 MB, free: 31.1 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.4115, allocations: 1.149 MB / 302.8 MB, free: 30.36 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0005284/0.4121, allocations: 75.58 kB / 302.9 MB, free: 30.33 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.4121, allocations: 21.75 kB / 302.9 MB, free: 30.32 MB / 250.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4122, allocations: 0 / 302.9 MB, free: 30.32 MB / 250.7 MB Notification: Performance of Templates: time 0.05289/0.4651, allocations: 20.92 MB / 323.8 MB, free: 15.52 MB / 250.7 MB