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.973/1.973, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.512e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2976, allocations: 44.5 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4367, allocations: 79.39 MB / 373.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.437, allocations: 71.91 kB / 373.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1385/0.5755, allocations: 38.87 MB / 412.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5755, allocations: 0 / 412.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.432e-05/0.5756, allocations: 12 kB / 412.6 MB, free: 11.61 MB / 362.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.001865/0.5774, allocations: 1.351 MB / 413.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5775, allocations: 8.031 kB / 413.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.5778, allocations: 122.5 kB / 414 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/0.5787, allocations: 468.9 kB / 414.5 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.5788, allocations: 23.94 kB / 414.5 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.5789, allocations: 16 kB / 414.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008343/0.5797, allocations: 448.5 kB / 415 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5808, allocations: 0.552 MB / 415.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5808, allocations: 0 / 415.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.5809, allocations: 8 kB / 415.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5809, allocations: 4 kB / 415.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.5831, allocations: 0.8869 MB / 416.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.5842, allocations: 0.7132 MB / 417.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.5854, allocations: 0.696 MB / 417.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.5854, allocations: 0 / 417.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.5867, allocations: 0.7353 MB / 418.6 MB, free: 5.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.745e-06/0.5868, allocations: 0 / 418.6 MB, free: 5.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002623/0.5894, allocations: 1.253 MB / 419.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000228/0.5896, allocations: 334.7 kB / 420.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.5924, allocations: 1.235 MB / 421.4 MB, free: 2.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.5926, allocations: 45.69 kB / 421.4 MB, free: 2.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.593, allocations: 278 kB / 421.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.5932, allocations: 86.97 kB / 421.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.5933, allocations: 12 kB / 421.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5934, allocations: 322 kB / 422.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008303/0.5943, allocations: 452.1 kB / 422.6 MB, free: 1.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.5951, allocations: 460.5 kB / 423 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.5959, allocations: 361.8 kB / 423.4 MB, free: 480 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5959, allocations: 0 / 423.4 MB, free: 480 kB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.2637/0.8596, allocations: 1.203 MB / 424.6 MB, free: 104.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.86, allocations: 303.1 kB / 424.9 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.86, allocations: 3.281 kB / 424.9 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.86, allocations: 1.031 kB / 424.9 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.588e-05/0.8601, allocations: 3.719 kB / 424.9 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.8601, allocations: 2.484 kB / 424.9 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.8607, allocations: 32.38 kB / 424.9 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.8609, allocations: 98.36 kB / 425 MB, free: 104 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.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.0004733/0.8614, allocations: 466.1 kB / 425.4 MB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00265/0.8641, allocations: 1.341 MB / 426.8 MB, free: 103.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.8643, allocations: 127.2 kB / 426.9 MB, free: 103.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.8649, allocations: 190.5 kB / 427.1 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.8649, allocations: 1.281 kB / 427.1 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8649, allocations: 5.188 kB / 427.1 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.865, allocations: 0.875 kB / 427.1 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.8686, allocations: 1.99 MB / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.8687, allocations: 1.219 kB / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.8687, allocations: 5 kB / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.8687, allocations: 1.688 kB / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.8688, allocations: 37.98 kB / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8688, allocations: 1.25 kB / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8689, allocations: 0 / 429.1 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.8716, allocations: 1.436 MB / 430.6 MB, free: 102.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.8729, allocations: 0.5033 MB / 431.1 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.8733, allocations: 67.44 kB / 431.1 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/0.8738, allocations: 27.05 kB / 431.2 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/0.8758, allocations: 0.63 MB / 431.8 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/0.876, allocations: 111 kB / 431.9 MB, free: 102.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001902/0.8779, allocations: 1.018 MB / 432.9 MB, free: 102.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8779, allocations: 0.5625 kB / 432.9 MB, free: 102.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001005/0.879, allocations: 190.5 kB / 433.1 MB, free: 102.4 MB / 362.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.003407/0.8824, allocations: 2.27 MB / 435.4 MB, free: 101.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.8847, allocations: 2.045 MB / 437.4 MB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8847, allocations: 0 / 437.4 MB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.8862, allocations: 1.568 MB / 439 MB, free: 100.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/0.8905, allocations: 0.7037 MB / 439.7 MB, free: 100.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.8957, allocations: 2.486 MB / 442.2 MB, free: 99.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/0.8967, allocations: 1.151 MB / 443.3 MB, free: 98.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.8972, allocations: 73.25 kB / 443.4 MB, free: 98.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.8974, allocations: 213.7 kB / 443.6 MB, free: 98.26 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.8975, allocations: 0 / 443.6 MB, free: 98.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07708/0.9745, allocations: 25.76 MB / 469.4 MB, free: 77.06 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.9748, allocations: 155.7 kB / 469.5 MB, free: 76.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/4.135, allocations: 0 / 469.5 MB, free: 76.87 MB / 362.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