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 2.051/2.051, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.008e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5356, allocations: 80.05 MB / 380 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.5359, allocations: 70.53 kB / 380.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1271/0.663, allocations: 39.24 MB / 419.3 MB, free: 4.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6631, allocations: 3.938 kB / 419.3 MB, free: 4.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.878e-05/0.6631, allocations: 11.53 kB / 419.4 MB, free: 4.59 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.00155/0.6647, allocations: 1.349 MB / 420.7 MB, free: 3.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6648, allocations: 7.375 kB / 420.7 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.6649, allocations: 53.8 kB / 420.8 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.6651, allocations: 124.5 kB / 420.9 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.6659, allocations: 477.6 kB / 421.4 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.666, allocations: 19.53 kB / 421.4 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.6661, allocations: 19.28 kB / 421.4 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6671, allocations: 0.5727 MB / 422 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6672, allocations: 0 / 422 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.6672, allocations: 11.06 kB / 422 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6673, allocations: 0 / 422 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.668, allocations: 466.1 kB / 422.4 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.6701, allocations: 0.9194 MB / 423.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.6712, allocations: 0.7196 MB / 424.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.6722, allocations: 0.7096 MB / 424.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.6722, allocations: 3.953 kB / 424.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.6733, allocations: 0.7312 MB / 425.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.926e-06/0.6733, allocations: 0 / 425.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002478/0.6758, allocations: 1.558 MB / 427.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.676, allocations: 338 kB / 427.4 MB, free: 1.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.679, allocations: 1.298 MB / 428.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.6792, allocations: 42.81 kB / 428.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.6796, allocations: 285.5 kB / 429 MB, free: 432 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.6797, allocations: 90.64 kB / 429.1 MB, free: 380 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.6798, allocations: 7.812 kB / 429.1 MB, free: 376 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.6799, allocations: 324 kB / 429.4 MB, free: 60 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.6807, allocations: 459.2 kB / 429.9 MB, free: 8 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.6817, allocations: 479.6 kB / 430.3 MB, free: 0 / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009987/0.6827, allocations: 0.655 MB / 431 MB, free: 15.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6828, allocations: 0 / 431 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002522/0.6853, allocations: 1.526 MB / 432.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003018/0.6857, allocations: 310.9 kB / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6857, allocations: 0 / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.6857, allocations: 0 / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.392e-05/0.6858, allocations: 0 / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.6858, allocations: 0 / 432.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.6865, allocations: 41.88 kB / 432.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.6867, allocations: 94.62 kB / 433 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.0005995/0.6873, allocations: 479.3 kB / 433.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.6876, allocations: 128.8 kB / 433.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000634/0.6883, allocations: 191.6 kB / 433.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.6883, allocations: 4 kB / 433.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.6883, allocations: 7.984 kB / 433.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6884, allocations: 0 / 433.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.6933, allocations: 2.411 MB / 436.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.6933, allocations: 0 / 436.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.6934, allocations: 7.891 kB / 436.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.6934, allocations: 0 / 436.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.6935, allocations: 39.34 kB / 436.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6935, allocations: 4 kB / 436.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6935, allocations: 0 / 436.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.697, allocations: 1.83 MB / 438.1 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.6987, allocations: 0.503 MB / 438.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.6991, allocations: 67.91 kB / 438.6 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.6997, allocations: 27.98 kB / 438.6 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002179/0.7019, allocations: 0.628 MB / 439.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/0.7022, allocations: 115.9 kB / 439.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002897/0.7051, allocations: 1.064 MB / 440.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.7052, allocations: 0 / 440.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001211/0.7064, allocations: 195.5 kB / 440.6 MB, free: 6.863 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.004944/0.7114, allocations: 2.646 MB / 443.3 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003539/0.715, allocations: 2.072 MB / 445.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.715, allocations: 0 / 445.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.7174, allocations: 1.584 MB / 446.9 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/0.7225, allocations: 0.7238 MB / 447.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.7296, allocations: 2.508 MB / 450.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.7311, allocations: 1.151 MB / 451.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004579/0.7316, allocations: 66.89 kB / 451.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.732, allocations: 211.3 kB / 451.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.732, allocations: 0 / 451.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08539/0.8174, allocations: 27.16 MB / 478.8 MB, free: 188 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.8178, allocations: 188.3 kB / 478.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.094, allocations: 0 / 478.9 MB, free: 15.95 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