Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_DFFREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.712e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5831/0.6926, allocations: 83.56 MB / 426.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.693, allocations: 69.89 kB / 426.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1144/0.8074, allocations: 33.1 MB / 459.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8075, allocations: 0 / 459.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.084e-05/0.8075, allocations: 16 kB / 459.4 MB, free: 13.9 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.002253/0.8098, allocations: 1.307 MB / 460.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.8099, allocations: 8.031 kB / 460.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.8101, allocations: 58.55 kB / 460.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.8105, allocations: 130.4 kB / 460.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.8117, allocations: 0.5167 MB / 461.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.8118, allocations: 31.98 kB / 461.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.8119, allocations: 31.94 kB / 461.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.8135, allocations: 0.6105 MB / 462.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.8135, allocations: 3.984 kB / 462.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8136, allocations: 16 kB / 462.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8137, allocations: 0 / 462.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.8148, allocations: 455.8 kB / 462.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.8176, allocations: 1.084 MB / 463.6 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.8193, allocations: 0.6859 MB / 464.3 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.8208, allocations: 0.6728 MB / 465 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.8209, allocations: 7.938 kB / 465 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.8226, allocations: 0.7617 MB / 465.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 4.409e-06/0.8226, allocations: 0 / 465.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.004408/0.827, allocations: 1.419 MB / 467.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004175/0.8275, allocations: 321 kB / 467.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004429/0.832, allocations: 1.598 MB / 469.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.8323, allocations: 45.69 kB / 469.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.8327, allocations: 242.4 kB / 469.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.833, allocations: 87.22 kB / 469.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.8331, allocations: 12 kB / 469.5 MB, free: 3.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.8334, allocations: 378.7 kB / 469.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.8345, allocations: 452 kB / 470.3 MB, free: 2.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.8356, allocations: 451.9 kB / 470.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.8367, allocations: 0.5833 MB / 471.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.8367, allocations: 0 / 471.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003083/0.8398, allocations: 1.347 MB / 472.6 MB, free: 112 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.8402, allocations: 293.5 kB / 472.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8402, allocations: 3.984 kB / 472.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.8403, allocations: 3.953 kB / 472.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.8403, allocations: 7.938 kB / 472.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.8404, allocations: 3.984 kB / 472.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/0.8411, allocations: 43.88 kB / 473 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/0.8414, allocations: 155.9 kB / 473.1 MB, free: 15.56 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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.0006471/0.8421, allocations: 462.5 kB / 473.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.8424, allocations: 130.5 kB / 473.7 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/0.8432, allocations: 247.7 kB / 474 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.8433, allocations: 4 kB / 474 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.8433, allocations: 3.953 kB / 474 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8433, allocations: 0 / 474 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/0.8489, allocations: 2.404 MB / 476.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.849, allocations: 0 / 476.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.849, allocations: 4 kB / 476.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.8491, allocations: 3.984 kB / 476.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.8492, allocations: 39.94 kB / 476.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.8492, allocations: 4 kB / 476.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8492, allocations: 0 / 476.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.8528, allocations: 1.618 MB / 478 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/0.8549, allocations: 0.6824 MB / 478.7 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/0.8553, allocations: 59.97 kB / 478.8 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.856, allocations: 47.77 kB / 478.8 MB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009853/0.857, allocations: 355.6 kB / 479.2 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/0.8573, allocations: 167.8 kB / 479.3 MB, free: 9.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003673/0.861, allocations: 1.319 MB / 480.7 MB, free: 7.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.8611, allocations: 0 / 480.7 MB, free: 7.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001001/0.8621, allocations: 156 kB / 480.8 MB, free: 7.621 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.004287/0.8664, allocations: 2.249 MB / 483.1 MB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.8701, allocations: 1.905 MB / 485 MB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8702, allocations: 8 kB / 485 MB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.8725, allocations: 1.39 MB / 486.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.8748, allocations: 299.5 kB / 486.7 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/0.8826, allocations: 2.704 MB / 489.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/0.8843, allocations: 1.221 MB / 490.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.8848, allocations: 155 kB / 490.7 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.8851, allocations: 147.4 kB / 490.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8851, allocations: 0 / 490.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.001, allocations: 22.05 MB / 0.5009 GB, free: 6.926 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.001, allocations: 154.9 kB / 0.5011 GB, free: 6.695 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.945, allocations: 0 / 0.5011 GB, free: 6.695 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat does not exist to compare? outputFormat=mat