Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.978e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 50.4 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.5669, allocations: 83.32 MB / 426 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.5672, allocations: 69.34 kB / 426 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1315/0.6987, allocations: 38.04 MB / 464.1 MB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6988, allocations: 0 / 464.1 MB, free: 9.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.6988, allocations: 12 kB / 464.1 MB, free: 9.18 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001404/0.7002, allocations: 1.008 MB / 465.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7003, allocations: 8.031 kB / 465.1 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.7004, allocations: 66.48 kB / 465.2 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.7007, allocations: 86.97 kB / 465.2 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.7015, allocations: 419.6 kB / 465.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.7016, allocations: 20 kB / 465.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.7017, allocations: 24 kB / 465.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.703, allocations: 0.5099 MB / 466.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7031, allocations: 0 / 466.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.7032, allocations: 12 kB / 466.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7032, allocations: 4 kB / 466.2 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.7041, allocations: 356.1 kB / 466.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.7062, allocations: 0.8613 MB / 467.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.7074, allocations: 0.4984 MB / 467.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009914/0.7084, allocations: 0.4991 MB / 468.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.7084, allocations: 7.938 kB / 468.4 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.7097, allocations: 0.644 MB / 469.1 MB, free: 3.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.665e-06/0.7097, allocations: 0 / 469.1 MB, free: 3.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002705/0.7124, allocations: 1.183 MB / 470.3 MB, free: 2.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/0.7127, allocations: 275.3 kB / 470.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.7151, allocations: 1.023 MB / 471.6 MB, free: 1.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.7153, allocations: 45.69 kB / 471.6 MB, free: 1.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.7155, allocations: 150 kB / 471.7 MB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.7156, allocations: 79.14 kB / 471.8 MB, free: 1.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.7157, allocations: 8 kB / 471.8 MB, free: 1.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7159, allocations: 346.8 kB / 472.2 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/0.7168, allocations: 352.1 kB / 472.5 MB, free: 372 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/0.7176, allocations: 348.5 kB / 472.9 MB, free: 24 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.7185, allocations: 0.4894 MB / 473.3 MB, free: 15.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7185, allocations: 0 / 473.3 MB, free: 15.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002442/0.721, allocations: 1.118 MB / 474.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.7212, allocations: 251.8 kB / 474.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7213, allocations: 0 / 474.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.7213, allocations: 3.953 kB / 474.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.7213, allocations: 8 kB / 474.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7214, allocations: 0 / 474.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.722, allocations: 39.81 kB / 474.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.7223, allocations: 152.2 kB / 474.9 MB, free: 13.84 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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.000543/0.7228, allocations: 418.6 kB / 475.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.723, allocations: 91.05 kB / 475.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.7235, allocations: 147.8 kB / 475.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7235, allocations: 0 / 475.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.7236, allocations: 3.953 kB / 475.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.7236, allocations: 3.984 kB / 475.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.7276, allocations: 1.958 MB / 477.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.7277, allocations: 0 / 477.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.7277, allocations: 0 / 477.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.7277, allocations: 4 kB / 477.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.7279, allocations: 43.92 kB / 477.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.7279, allocations: 0 / 477.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7279, allocations: 4 kB / 477.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.7309, allocations: 1.365 MB / 478.9 MB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.7325, allocations: 0.566 MB / 479.5 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.7328, allocations: 55.97 kB / 479.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.7334, allocations: 47.77 kB / 479.6 MB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007067/0.7342, allocations: 239.7 kB / 479.8 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/0.7344, allocations: 155.9 kB / 480 MB, free: 8.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00199/0.7365, allocations: 0.8617 MB / 480.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.7365, allocations: 0 / 480.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000742/0.7372, allocations: 120 kB / 481 MB, free: 7.543 MB / 394.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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.003422/0.7407, allocations: 2.001 MB / 483 MB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.7434, allocations: 1.507 MB / 484.5 MB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7434, allocations: 0 / 484.5 MB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.745, allocations: 1.113 MB / 485.6 MB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.747, allocations: 279.3 kB / 485.9 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.7517, allocations: 1.888 MB / 487.7 MB, free: 492 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.7529, allocations: 1.039 MB / 488.8 MB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.7531, allocations: 37.5 kB / 488.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.7533, allocations: 75.42 kB / 488.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7533, allocations: 0 / 488.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/0.8009, allocations: 16.47 MB / 0.4935 GB, free: 14.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.8013, allocations: 149.3 kB / 0.4937 GB, free: 14.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.591, allocations: 0 / 0.4937 GB, free: 14.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat