Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.256e-05, allocations: 0 / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 50.42 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5681, allocations: 86.25 MB / 429.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5685, allocations: 77.08 kB / 429.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1533/0.7218, allocations: 39.81 MB / 469.3 MB, free: 4.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.7219, allocations: 4 kB / 469.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.7219, allocations: 12 kB / 469.3 MB, free: 4.57 MB / 378.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.002005/0.7239, allocations: 1.34 MB / 470.7 MB, free: 3.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.724, allocations: 8.031 kB / 470.7 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.7242, allocations: 62.48 kB / 470.7 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.7244, allocations: 126.7 kB / 470.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009627/0.7254, allocations: 476.6 kB / 471.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.7255, allocations: 12 kB / 471.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.7256, allocations: 20 kB / 471.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7268, allocations: 0.5755 MB / 471.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.7268, allocations: 0 / 471.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.7269, allocations: 11.95 kB / 471.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.7269, allocations: 4 kB / 471.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.7278, allocations: 463.7 kB / 472.4 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.7302, allocations: 0.9155 MB / 473.3 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.7315, allocations: 0.725 MB / 474 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.7326, allocations: 0.7038 MB / 474.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.7327, allocations: 4 kB / 474.7 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/0.7339, allocations: 0.7245 MB / 475.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 3.386e-06/0.7339, allocations: 0 / 475.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.002986/0.7369, allocations: 1.569 MB / 477 MB, free: 12.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/0.7372, allocations: 330.7 kB / 477.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.7402, allocations: 1.307 MB / 478.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.7405, allocations: 45.69 kB / 478.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.7408, allocations: 274.1 kB / 479 MB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.7411, allocations: 90.89 kB / 479.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.7411, allocations: 12 kB / 479.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7413, allocations: 325.9 kB / 479.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009566/0.7423, allocations: 460.2 kB / 479.8 MB, free: 9.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009192/0.7432, allocations: 464.5 kB / 480.3 MB, free: 9.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7443, allocations: 0.6534 MB / 480.9 MB, free: 8.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.7443, allocations: 0 / 480.9 MB, free: 8.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002809/0.7471, allocations: 1.523 MB / 482.5 MB, free: 6.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002882/0.7475, allocations: 303.2 kB / 482.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7475, allocations: 0 / 482.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.7475, allocations: 7.984 kB / 482.8 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.7476, allocations: 0 / 482.8 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.7476, allocations: 3.938 kB / 482.8 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.7483, allocations: 35.83 kB / 482.8 MB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.7485, allocations: 107.9 kB / 482.9 MB, free: 6.367 MB / 394.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.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,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],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.0005572/0.7491, allocations: 481.3 kB / 483.4 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.7494, allocations: 126.5 kB / 483.5 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.75, allocations: 183.6 kB / 483.7 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.75, allocations: 0 / 483.7 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.7501, allocations: 4 kB / 483.7 MB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7501, allocations: 4 kB / 483.7 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.7547, allocations: 2.412 MB / 486.1 MB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.7548, allocations: 8 kB / 486.1 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.7548, allocations: 0 / 486.1 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.7549, allocations: 3.984 kB / 486.1 MB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.755, allocations: 31.98 kB / 486.2 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.755, allocations: 0 / 486.2 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.755, allocations: 0 / 486.2 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.7583, allocations: 1.842 MB / 488 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/0.7599, allocations: 0.4913 MB / 488.5 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.7603, allocations: 71.89 kB / 488.6 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.7609, allocations: 23.98 kB / 488.6 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002242/0.7632, allocations: 0.632 MB / 489.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/0.7635, allocations: 103.9 kB / 489.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002777/0.7663, allocations: 1.072 MB / 490.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.7663, allocations: 0 / 490.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001155/0.7675, allocations: 203.9 kB / 490.6 MB, free: 14.43 MB / 410.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.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,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],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.004799/0.7723, allocations: 2.659 MB / 493.2 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.7757, allocations: 2.076 MB / 495.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7758, allocations: 0 / 495.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003308/0.7791, allocations: 1.58 MB / 496.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007815/0.787, allocations: 0.723 MB / 497.6 MB, free: 7.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008146/0.7952, allocations: 2.52 MB / 0.4884 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.7965, allocations: 1.143 MB / 0.4895 GB, free: 3.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.797, allocations: 78.8 kB / 0.4896 GB, free: 3.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.7974, allocations: 215.4 kB / 0.4898 GB, free: 3.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7974, allocations: 0 / 0.4898 GB, free: 3.121 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.9005, allocations: 27.17 MB / 0.5163 GB, free: 8.066 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/0.9008, allocations: 195.8 kB / 0.5165 GB, free: 7.832 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/4.392, allocations: 4 kB / 0.5165 GB, free: 7.828 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat