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.724/1.724, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.237e-05, allocations: 8 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.3926, allocations: 73.93 MB / 332.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3929, allocations: 67.97 kB / 332.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3526/0.7454, allocations: 38.95 MB / 371.3 MB, free: 89.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7455, allocations: 1.125 kB / 371.3 MB, free: 89.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.893e-05/0.7455, allocations: 13.16 kB / 371.3 MB, free: 89.5 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.001697/0.7472, allocations: 1.351 MB / 372.7 MB, free: 88.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7473, allocations: 9.375 kB / 372.7 MB, free: 88.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.7477, allocations: 124.2 kB / 372.8 MB, free: 88.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.7486, allocations: 467.8 kB / 373.2 MB, free: 88.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.7487, allocations: 18.36 kB / 373.3 MB, free: 88.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.7488, allocations: 19.06 kB / 373.3 MB, free: 88.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008355/0.7497, allocations: 448.9 kB / 373.7 MB, free: 88.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.7507, allocations: 0.5484 MB / 374.3 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7507, allocations: 1.125 kB / 374.3 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.7508, allocations: 7.031 kB / 374.3 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.7508, allocations: 1.375 kB / 374.3 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.7529, allocations: 0.8805 MB / 375.2 MB, free: 88.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.7537, allocations: 0.7081 MB / 375.9 MB, free: 88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.7546, allocations: 0.697 MB / 376.6 MB, free: 87.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.7546, allocations: 0 / 376.6 MB, free: 87.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.7556, allocations: 0.7298 MB / 377.3 MB, free: 87.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.7556, allocations: 0 / 377.3 MB, free: 87.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002265/0.7579, allocations: 1.263 MB / 378.6 MB, free: 87.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.7581, allocations: 335.4 kB / 378.9 MB, free: 87.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.7604, allocations: 1.243 MB / 380.1 MB, free: 87.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.7606, allocations: 40.25 kB / 380.2 MB, free: 87.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.7608, allocations: 280 kB / 380.4 MB, free: 86.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.761, allocations: 87 kB / 380.5 MB, free: 86.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.761, allocations: 11.28 kB / 380.5 MB, free: 86.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.7611, allocations: 319.4 kB / 380.9 MB, free: 86.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006685/0.7618, allocations: 451.8 kB / 381.3 MB, free: 86.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.7625, allocations: 458.5 kB / 381.7 MB, free: 86.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.7631, allocations: 361.2 kB / 382.1 MB, free: 86.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7631, allocations: 0 / 382.1 MB, free: 86.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002041/0.7652, allocations: 1.211 MB / 383.3 MB, free: 85.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.7654, allocations: 303.4 kB / 383.6 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7654, allocations: 3.797 kB / 383.6 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.7655, allocations: 0 / 383.6 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.7655, allocations: 3.938 kB / 383.6 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7656, allocations: 3.844 kB / 383.6 MB, free: 85.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.7662, allocations: 38.12 kB / 383.6 MB, free: 85.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.7664, allocations: 101 kB / 383.7 MB, free: 85.66 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.0004195/0.7668, allocations: 466.2 kB / 384.2 MB, free: 85.25 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002353/0.7692, allocations: 1.332 MB / 385.5 MB, free: 84.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.7694, allocations: 128.7 kB / 385.7 MB, free: 84.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.7699, allocations: 187.6 kB / 385.8 MB, free: 84.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.77, allocations: 5.078 kB / 385.8 MB, free: 84.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.77, allocations: 3.938 kB / 385.9 MB, free: 84.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.77, allocations: 3.422 kB / 385.9 MB, free: 84.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.7732, allocations: 1.993 MB / 387.8 MB, free: 83.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7732, allocations: 0 / 387.8 MB, free: 83.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.7733, allocations: 7.594 kB / 387.9 MB, free: 83.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.7733, allocations: 4 kB / 387.9 MB, free: 83.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.488e-05/0.7734, allocations: 31.75 kB / 387.9 MB, free: 83.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.7734, allocations: 3.953 kB / 387.9 MB, free: 83.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.7734, allocations: 0 / 387.9 MB, free: 83.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.7758, allocations: 1.44 MB / 389.3 MB, free: 82.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.777, allocations: 0.4907 MB / 389.8 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.7774, allocations: 73.72 kB / 389.9 MB, free: 82.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/0.778, allocations: 27.8 kB / 389.9 MB, free: 82.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/0.7799, allocations: 0.6287 MB / 390.6 MB, free: 81.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/0.7801, allocations: 113.3 kB / 390.7 MB, free: 81.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001905/0.782, allocations: 1.009 MB / 391.7 MB, free: 80.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.014e-06/0.7821, allocations: 4 kB / 391.7 MB, free: 80.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001058/0.7831, allocations: 198.5 kB / 391.9 MB, free: 80.48 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.003419/0.7866, allocations: 2.265 MB / 394.1 MB, free: 78.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.7888, allocations: 2.045 MB / 396.2 MB, free: 76.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7888, allocations: 4 kB / 396.2 MB, free: 76.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.7902, allocations: 1.568 MB / 397.8 MB, free: 74.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/0.7947, allocations: 0.7173 MB / 398.5 MB, free: 74.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/0.8015, allocations: 2.923 MB / 401.4 MB, free: 71.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.8025, allocations: 1.152 MB / 402.5 MB, free: 70.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.803, allocations: 76.53 kB / 402.6 MB, free: 70.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.8033, allocations: 209.7 kB / 402.8 MB, free: 70.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.163e-06/0.8033, allocations: 0 / 402.8 MB, free: 70.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/0.9631, allocations: 25.78 MB / 428.6 MB, free: 44.68 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.9634, allocations: 151.3 kB / 428.7 MB, free: 44.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/4.112, allocations: 3.969 kB / 428.8 MB, free: 44.49 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