Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_RAM",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.195/2.195, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.502e-05, allocations: 4.125 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4963/0.6005, allocations: 79.37 MB / 373.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.6009, allocations: 70.25 kB / 373.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1559/0.7569, allocations: 38.99 MB / 412.7 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7569, allocations: 0 / 412.7 MB, free: 8.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.053e-05/0.757, allocations: 12 kB / 412.7 MB, free: 8.465 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.002169/0.7592, allocations: 1.348 MB / 414.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.7592, allocations: 12.03 kB / 414.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.7595, allocations: 118.5 kB / 414.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.7607, allocations: 477.6 kB / 414.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.7608, allocations: 19.94 kB / 414.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.7609, allocations: 16 kB / 414.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009675/0.7619, allocations: 446.9 kB / 415.2 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.7632, allocations: 0.5569 MB / 415.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7632, allocations: 0 / 415.7 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.7633, allocations: 13.38 kB / 415.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.7633, allocations: 0 / 415.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.7659, allocations: 0.8798 MB / 416.6 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.7673, allocations: 0.7066 MB / 417.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.7686, allocations: 0.6999 MB / 418 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.7686, allocations: 0 / 418 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.7701, allocations: 0.7356 MB / 418.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.986e-06/0.7701, allocations: 3.938 kB / 418.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.003188/0.7733, allocations: 1.253 MB / 420 MB, free: 1.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002715/0.7736, allocations: 330.7 kB / 420.3 MB, free: 1.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.7767, allocations: 1.239 MB / 421.6 MB, free: 52 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.7769, allocations: 37.69 kB / 421.6 MB, free: 8 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.7773, allocations: 285.9 kB / 421.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.7775, allocations: 90.97 kB / 422 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.7776, allocations: 8 kB / 422 MB, free: 15.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7778, allocations: 318 kB / 422.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000979/0.7787, allocations: 452.2 kB / 422.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009641/0.7797, allocations: 452.5 kB / 423.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.7806, allocations: 361.8 kB / 423.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7807, allocations: 0 / 423.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002921/0.7836, allocations: 1.212 MB / 424.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000362/0.784, allocations: 307.2 kB / 425 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.784, allocations: 4 kB / 425 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.784, allocations: 0 / 425 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.7841, allocations: 0 / 425 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.7841, allocations: 11.94 kB / 425.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.7848, allocations: 27.89 kB / 425.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.785, allocations: 99.92 kB / 425.2 MB, free: 12.36 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.0006376/0.7857, allocations: 473.2 kB / 425.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003252/0.789, allocations: 1.335 MB / 427 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.7893, allocations: 126.5 kB / 427.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.79, allocations: 191.9 kB / 427.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.79, allocations: 4 kB / 427.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.79, allocations: 4 kB / 427.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.79, allocations: 3.938 kB / 427.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.7948, allocations: 1.997 MB / 429.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.7949, allocations: 0 / 429.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.7949, allocations: 4 kB / 429.3 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.7949, allocations: 0 / 429.3 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.7951, allocations: 43.86 kB / 429.3 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7951, allocations: 0 / 429.3 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7951, allocations: 0 / 429.3 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.7984, allocations: 1.444 MB / 430.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.8001, allocations: 0.503 MB / 431.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/0.8005, allocations: 55.97 kB / 431.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.8012, allocations: 35.86 kB / 431.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002617/0.8038, allocations: 0.6334 MB / 432 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/0.8041, allocations: 107.9 kB / 432.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002492/0.8066, allocations: 1.017 MB / 433.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8066, allocations: 0 / 433.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00112/0.8077, allocations: 187.7 kB / 433.3 MB, free: 4.078 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.004733/0.8125, allocations: 2.272 MB / 435.6 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00335/0.8159, allocations: 2.041 MB / 437.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.8159, allocations: 4 kB / 437.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.8182, allocations: 1.565 MB / 439.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005353/0.8236, allocations: 0.7271 MB / 439.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/0.8327, allocations: 2.917 MB / 442.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.8343, allocations: 1.147 MB / 444 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005188/0.8348, allocations: 75.12 kB / 444.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.8353, allocations: 215.3 kB / 444.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8353, allocations: 0 / 444.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2283/1.064, allocations: 25.8 MB / 470.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003344/1.064, allocations: 164.2 kB / 470.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.806/4.87, allocations: 0 / 470.2 MB, free: 14.62 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat