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.744/1.744, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.542e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2761, allocations: 38.77 MB / 263.8 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4105, allocations: 74.6 MB / 338.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4108, allocations: 67.97 kB / 338.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3556/0.7664, allocations: 39.31 MB / 377.8 MB, free: 88.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.7665, allocations: 0 / 377.8 MB, free: 88.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.897e-05/0.7665, allocations: 11.16 kB / 377.8 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.00171/0.7683, allocations: 1.342 MB / 379.2 MB, free: 87.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.7683, allocations: 11.31 kB / 379.2 MB, free: 87.23 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.7685, allocations: 52.25 kB / 379.2 MB, free: 87.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.7687, allocations: 126.9 kB / 379.4 MB, free: 87.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.7697, allocations: 470.5 kB / 379.8 MB, free: 86.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.7698, allocations: 18.72 kB / 379.8 MB, free: 86.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.7699, allocations: 17.41 kB / 379.9 MB, free: 86.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.7709, allocations: 0.5816 MB / 380.4 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.7709, allocations: 0 / 380.4 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.771, allocations: 11.47 kB / 380.5 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.771, allocations: 1.781 kB / 380.5 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.7718, allocations: 464.5 kB / 380.9 MB, free: 86.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.774, allocations: 0.9165 MB / 381.8 MB, free: 86.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.775, allocations: 0.7328 MB / 382.6 MB, free: 86.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009141/0.776, allocations: 0.7087 MB / 383.3 MB, free: 86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.776, allocations: 7.828 kB / 383.3 MB, free: 85.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.777, allocations: 0.7232 MB / 384 MB, free: 85.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.246e-06/0.7771, allocations: 0 / 384 MB, free: 85.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.00245/0.7795, allocations: 1.569 MB / 385.6 MB, free: 84.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.7797, allocations: 337.3 kB / 385.9 MB, free: 84.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.7825, allocations: 1.306 MB / 387.2 MB, free: 83.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.7827, allocations: 41.17 kB / 387.2 MB, free: 83.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.783, allocations: 280.6 kB / 387.5 MB, free: 83.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.7832, allocations: 85.53 kB / 387.6 MB, free: 83.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.7832, allocations: 8 kB / 387.6 MB, free: 83.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.7833, allocations: 320.1 kB / 387.9 MB, free: 82.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.7841, allocations: 468.2 kB / 388.4 MB, free: 82.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.7848, allocations: 467.6 kB / 388.8 MB, free: 81.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.7855, allocations: 0.6541 MB / 389.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7856, allocations: 3.938 kB / 389.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002189/0.7878, allocations: 1.516 MB / 391 MB, free: 79.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.788, allocations: 312.2 kB / 391.3 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.788, allocations: 0 / 391.3 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.7881, allocations: 0 / 391.3 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.49e-05/0.7881, allocations: 4 kB / 391.3 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7881, allocations: 0 / 391.3 MB, free: 79.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.7888, allocations: 47.23 kB / 391.4 MB, free: 79.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.789, allocations: 95.06 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.0004644/0.7895, allocations: 469.3 kB / 391.9 MB, free: 78.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.7897, allocations: 134.4 kB / 392 MB, free: 78.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.7903, allocations: 197.5 kB / 392.2 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7903, allocations: 4 kB / 392.2 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.7903, allocations: 0 / 392.2 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7903, allocations: 0 / 392.2 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.7941, allocations: 2.408 MB / 394.7 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.7941, allocations: 0 / 394.7 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.7942, allocations: 3.953 kB / 394.7 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.7942, allocations: 4 kB / 394.7 MB, free: 76.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/0.7943, allocations: 38.66 kB / 394.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7943, allocations: 4 kB / 394.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7943, allocations: 0 / 394.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.7969, allocations: 1.831 MB / 396.5 MB, free: 74.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.7983, allocations: 0.496 MB / 397 MB, free: 74.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.7986, allocations: 67.44 kB / 397.1 MB, free: 74.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/0.7992, allocations: 31.08 kB / 397.1 MB, free: 74.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/0.8011, allocations: 0.6324 MB / 397.8 MB, free: 73.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/0.8013, allocations: 103.1 kB / 397.9 MB, free: 73.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.8036, allocations: 1.068 MB / 398.9 MB, free: 72.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.8037, allocations: 0 / 398.9 MB, free: 72.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009964/0.8047, allocations: 199.3 kB / 399.1 MB, free: 72.29 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.003896/0.8086, allocations: 2.664 MB / 401.8 MB, free: 69.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.8112, allocations: 2.076 MB / 403.9 MB, free: 67.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8112, allocations: 0 / 403.9 MB, free: 67.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.8129, allocations: 1.587 MB / 405.4 MB, free: 65.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004691/0.8176, allocations: 0.7164 MB / 406.2 MB, free: 65.04 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.007488/0.8251, allocations: 3.051 MB / 409.2 MB, free: 61.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8262, allocations: 1.162 MB / 410.4 MB, free: 60.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.8266, allocations: 65.84 kB / 410.4 MB, free: 60.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.8269, allocations: 211.3 kB / 410.6 MB, free: 60.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.8269, allocations: 0 / 410.6 MB, free: 60.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/0.9508, allocations: 27.21 MB / 437.9 MB, free: 33.13 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.9512, allocations: 189.1 kB / 438 MB, free: 32.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/4.343, allocations: 0 / 438 MB, free: 32.9 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