Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.785e-05, allocations: 8 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2814, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4137, allocations: 74.61 MB / 338.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.414, allocations: 71.97 kB / 338.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3487/0.7627, allocations: 39.31 MB / 377.9 MB, free: 88.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7628, allocations: 3.656 kB / 377.9 MB, free: 88.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.7628, allocations: 14.94 kB / 377.9 MB, free: 88.11 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.001387/0.7642, allocations: 1.338 MB / 379.2 MB, free: 87.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.7643, allocations: 7.219 kB / 379.2 MB, free: 87.23 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.7644, allocations: 62.8 kB / 379.3 MB, free: 87.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.7646, allocations: 122.7 kB / 379.4 MB, free: 87.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.7654, allocations: 477.2 kB / 379.9 MB, free: 86.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.7654, allocations: 15.5 kB / 379.9 MB, free: 86.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.7655, allocations: 22.75 kB / 379.9 MB, free: 86.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.7665, allocations: 0.5745 MB / 380.5 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7665, allocations: 0 / 380.5 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.7666, allocations: 13.41 kB / 380.5 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.7666, allocations: 2.812 kB / 380.5 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.7673, allocations: 453 kB / 380.9 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.7693, allocations: 0.9161 MB / 381.9 MB, free: 86.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.7702, allocations: 0.7369 MB / 382.6 MB, free: 86.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.7711, allocations: 0.708 MB / 383.3 MB, free: 85.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.7711, allocations: 3.891 kB / 383.3 MB, free: 85.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009941/0.7721, allocations: 0.7242 MB / 384 MB, free: 85.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.815e-06/0.7722, allocations: 4 kB / 384 MB, free: 85.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.00236/0.7745, allocations: 1.57 MB / 385.6 MB, free: 84.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.7747, allocations: 329.5 kB / 385.9 MB, free: 84.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.777, allocations: 1.308 MB / 387.2 MB, free: 83.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.7772, allocations: 49.25 kB / 387.3 MB, free: 83.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.7774, allocations: 276.6 kB / 387.6 MB, free: 83.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.7776, allocations: 96.02 kB / 387.6 MB, free: 83.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.7777, allocations: 8 kB / 387.7 MB, free: 83.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.7777, allocations: 325.6 kB / 388 MB, free: 82.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.7784, allocations: 461.6 kB / 388.4 MB, free: 82.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.7791, allocations: 467 kB / 388.9 MB, free: 81.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.7799, allocations: 0.6442 MB / 389.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.7799, allocations: 0 / 389.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002127/0.782, allocations: 1.525 MB / 391 MB, free: 79.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.7822, allocations: 302.8 kB / 391.3 MB, free: 79.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.7822, allocations: 3.953 kB / 391.3 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.7823, allocations: 8 kB / 391.4 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.005e-05/0.7823, allocations: 3.469 kB / 391.4 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.7823, allocations: 3.75 kB / 391.4 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.7829, allocations: 31.64 kB / 391.4 MB, free: 79.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.7831, allocations: 105.3 kB / 391.5 MB, free: 79.38 MB / 314.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.0003963/0.7835, allocations: 472.5 kB / 392 MB, free: 78.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.7837, allocations: 128.8 kB / 392.1 MB, free: 78.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.7842, allocations: 185.9 kB / 392.3 MB, free: 78.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.7842, allocations: 3.953 kB / 392.3 MB, free: 78.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7842, allocations: 0 / 392.3 MB, free: 78.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7842, allocations: 4 kB / 392.3 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.7876, allocations: 2.402 MB / 394.7 MB, free: 76.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7877, allocations: 4 kB / 394.7 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.7877, allocations: 7.375 kB / 394.7 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.7877, allocations: 7.188 kB / 394.7 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.7878, allocations: 35.19 kB / 394.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.7878, allocations: 3.688 kB / 394.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7878, allocations: 0 / 394.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.7903, allocations: 1.826 MB / 396.6 MB, free: 74.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.7915, allocations: 0.5001 MB / 397.1 MB, free: 74.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.7918, allocations: 66.83 kB / 397.1 MB, free: 74.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.7924, allocations: 38.47 kB / 397.2 MB, free: 74.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001823/0.7942, allocations: 0.6228 MB / 397.8 MB, free: 73.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.7944, allocations: 110.9 kB / 397.9 MB, free: 73.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001964/0.7964, allocations: 1.076 MB / 399 MB, free: 72.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7964, allocations: 0 / 399 MB, free: 72.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008909/0.7973, allocations: 195.9 kB / 399.2 MB, free: 72.3 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.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.003608/0.8009, allocations: 2.645 MB / 401.8 MB, free: 69.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.8032, allocations: 2.072 MB / 403.9 MB, free: 67.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8033, allocations: 0 / 403.9 MB, free: 67.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.8049, allocations: 1.592 MB / 405.5 MB, free: 65.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/0.8095, allocations: 0.712 MB / 406.2 MB, free: 65.06 MB / 314.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/0.8165, allocations: 3.056 MB / 409.2 MB, free: 61.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000962/0.8175, allocations: 1.151 MB / 410.4 MB, free: 60.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004024/0.8179, allocations: 74.64 kB / 410.5 MB, free: 60.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.8182, allocations: 211.4 kB / 410.7 MB, free: 60.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8182, allocations: 0 / 410.7 MB, free: 60.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/0.9451, allocations: 27.19 MB / 437.9 MB, free: 33.18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.9454, allocations: 199.1 kB / 438.1 MB, free: 32.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.329/4.275, allocations: 4 kB / 438.1 MB, free: 32.94 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat