Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.483e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5179, allocations: 84.98 MB / 402 MB, free: 3.016 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5182, allocations: 68.28 kB / 402.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1431/0.6613, allocations: 39.37 MB / 441.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6614, allocations: 0 / 441.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.391e-05/0.6614, allocations: 16 kB / 441.5 MB, free: 2.742 MB / 346.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.001972/0.6634, allocations: 1.344 MB / 442.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.6635, allocations: 12.03 kB / 442.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.6636, allocations: 53.98 kB / 442.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.6638, allocations: 122.5 kB / 443 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/0.6648, allocations: 469.8 kB / 443.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.6648, allocations: 15.56 kB / 443.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.6649, allocations: 23.59 kB / 443.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.6661, allocations: 0.5815 MB / 444.1 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6661, allocations: 0 / 444.1 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.6662, allocations: 10 kB / 444.1 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6662, allocations: 4 kB / 444.1 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.6671, allocations: 458.4 kB / 444.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.6693, allocations: 0.9148 MB / 445.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.6706, allocations: 0.725 MB / 446.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.6717, allocations: 0.7116 MB / 446.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.6718, allocations: 0 / 446.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.673, allocations: 0.7281 MB / 447.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.475e-06/0.673, allocations: 0 / 447.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002933/0.676, allocations: 1.565 MB / 449.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/0.6763, allocations: 330.7 kB / 449.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.6792, allocations: 1.307 MB / 450.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.6793, allocations: 41.69 kB / 450.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.6797, allocations: 282 kB / 451.1 MB, free: 9.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.6798, allocations: 90.89 kB / 451.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.6799, allocations: 8 kB / 451.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.68, allocations: 322 kB / 451.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000868/0.6809, allocations: 460.2 kB / 452 MB, free: 8.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.6818, allocations: 476.2 kB / 452.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.6827, allocations: 0.6493 MB / 453.1 MB, free: 7.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6828, allocations: 4 kB / 453.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002784/0.6856, allocations: 1.523 MB / 454.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.6859, allocations: 307.2 kB / 454.9 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6859, allocations: 0 / 454.9 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.6859, allocations: 0 / 454.9 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.158e-05/0.686, allocations: 0 / 454.9 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.686, allocations: 7.953 kB / 454.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.6866, allocations: 35.89 kB / 455 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.6868, allocations: 103.9 kB / 455.1 MB, free: 4.98 MB / 362.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.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,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.0005597/0.6874, allocations: 473.4 kB / 455.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.6877, allocations: 126.5 kB / 455.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.6883, allocations: 187.6 kB / 455.8 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6883, allocations: 4 kB / 455.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6883, allocations: 0 / 455.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6883, allocations: 7.953 kB / 455.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.6927, allocations: 2.408 MB / 458.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6927, allocations: 0 / 458.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.6927, allocations: 3.984 kB / 458.3 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.6928, allocations: 3.984 kB / 458.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6929, allocations: 39.91 kB / 458.3 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.6929, allocations: 3.953 kB / 458.3 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6929, allocations: 4 kB / 458.3 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.6961, allocations: 1.83 MB / 460.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.6975, allocations: 0.4991 MB / 460.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.6978, allocations: 63.95 kB / 460.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.6984, allocations: 27.92 kB / 460.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002128/0.7006, allocations: 0.6358 MB / 461.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/0.7008, allocations: 103.9 kB / 461.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002517/0.7034, allocations: 1.072 MB / 462.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.252e-06/0.7034, allocations: 0 / 462.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001087/0.7045, allocations: 195.9 kB / 462.7 MB, free: 13.04 MB / 378.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.00468/0.7092, allocations: 2.657 MB / 465.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.7124, allocations: 2.072 MB / 467.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7124, allocations: 3.938 kB / 467.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.7146, allocations: 1.58 MB / 469 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/0.7194, allocations: 0.7264 MB / 469.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/0.7258, allocations: 2.516 MB / 472.3 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.7272, allocations: 1.151 MB / 473.4 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004265/0.7276, allocations: 70.88 kB / 473.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.7279, allocations: 211.4 kB / 473.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7279, allocations: 0 / 473.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/0.8406, allocations: 27.18 MB / 0.4891 GB, free: 6.316 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004408/0.8412, allocations: 192.2 kB / 0.4893 GB, free: 6.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/4.151, allocations: 0 / 0.4893 GB, free: 6.082 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat