Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.977e-05, allocations: 0 / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09552, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.5221, allocations: 80.04 MB / 380 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.5224, allocations: 71.42 kB / 380.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.6434, allocations: 39.24 MB / 419.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6434, allocations: 0 / 419.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.6435, allocations: 19.5 kB / 419.3 MB, free: 4.648 MB / 314.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.001405/0.6449, allocations: 1.342 MB / 420.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6449, allocations: 7.75 kB / 420.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.6451, allocations: 60.33 kB / 420.7 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.6453, allocations: 124.4 kB / 420.9 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.6461, allocations: 478.8 kB / 421.3 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.6462, allocations: 15.25 kB / 421.3 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.6463, allocations: 18.72 kB / 421.4 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.6473, allocations: 0.5743 MB / 421.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6473, allocations: 0 / 421.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.6474, allocations: 13.69 kB / 421.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6474, allocations: 4 kB / 421.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.6481, allocations: 461.6 kB / 422.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.6501, allocations: 0.9134 MB / 423.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/0.651, allocations: 0.7261 MB / 424 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.6519, allocations: 0.7087 MB / 424.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.652, allocations: 3.812 kB / 424.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.653, allocations: 0.7371 MB / 425.5 MB, free: 1.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.685e-06/0.653, allocations: 0 / 425.5 MB, free: 1.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002384/0.6554, allocations: 1.56 MB / 427 MB, free: 1.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.6556, allocations: 332.8 kB / 427.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.658, allocations: 1.299 MB / 428.7 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/0.6581, allocations: 45.12 kB / 428.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.6584, allocations: 285.4 kB / 429 MB, free: 480 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.6585, allocations: 88.31 kB / 429.1 MB, free: 428 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.6586, allocations: 9.594 kB / 429.1 MB, free: 428 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.6587, allocations: 320.2 kB / 429.4 MB, free: 112 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.6594, allocations: 462 kB / 429.9 MB, free: 60 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.6601, allocations: 470.7 kB / 430.3 MB, free: 4 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.661, allocations: 0.65 MB / 431 MB, free: 15.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6611, allocations: 4 kB / 431 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00242/0.6635, allocations: 1.525 MB / 432.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/0.6638, allocations: 306.9 kB / 432.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6638, allocations: 0 / 432.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.6638, allocations: 3.984 kB / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.28e-05/0.6639, allocations: 6.5 kB / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6639, allocations: 0 / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.6645, allocations: 34.44 kB / 432.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.6648, allocations: 98.19 kB / 432.9 MB, free: 14.71 MB / 330.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.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,$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,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.0006592/0.6654, allocations: 474.6 kB / 433.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.6657, allocations: 137.8 kB / 433.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.6663, allocations: 179.3 kB / 433.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.6664, allocations: 4 kB / 433.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.6664, allocations: 3.984 kB / 433.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6664, allocations: 0 / 433.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.6708, allocations: 2.424 MB / 436.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6709, allocations: 0 / 436.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.6709, allocations: 7.875 kB / 436.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.6709, allocations: 4 kB / 436.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.671, allocations: 27.98 kB / 436.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.6711, allocations: 4 kB / 436.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.6711, allocations: 0 / 436.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.6744, allocations: 1.83 MB / 438 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.6759, allocations: 0.5029 MB / 438.5 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.6762, allocations: 63.95 kB / 438.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.6768, allocations: 27.92 kB / 438.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002072/0.6789, allocations: 0.6319 MB / 439.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/0.6791, allocations: 115.9 kB / 439.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002516/0.6817, allocations: 1.068 MB / 440.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6817, allocations: 3.938 kB / 440.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001011/0.6827, allocations: 191.4 kB / 440.6 MB, free: 6.844 MB / 330.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.005004/0.6877, allocations: 2.649 MB / 443.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00323/0.691, allocations: 2.073 MB / 445.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6911, allocations: 0 / 445.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.6933, allocations: 1.588 MB / 446.9 MB, free: 280 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/0.6982, allocations: 0.7242 MB / 447.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.7049, allocations: 2.512 MB / 450.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.7063, allocations: 1.151 MB / 451.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000457/0.7068, allocations: 66.89 kB / 451.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.7072, allocations: 215.3 kB / 451.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7072, allocations: 0 / 451.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08664/0.7938, allocations: 27.17 MB / 478.7 MB, free: 156 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000362/0.7943, allocations: 181.6 kB / 478.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/4.197, allocations: 0 / 478.9 MB, free: 15.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat