Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.787e-05, allocations: 0 / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.254, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3808, allocations: 72.6 MB / 336.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.3812, allocations: 63.97 kB / 336.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3699/0.7511, allocations: 37.48 MB / 374 MB, free: 90.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7511, allocations: 3.625 kB / 374 MB, free: 90.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.7511, allocations: 11.53 kB / 374 MB, free: 90.32 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001116/0.7523, allocations: 1.015 MB / 375 MB, free: 89.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7523, allocations: 6.625 kB / 375 MB, free: 89.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.7524, allocations: 54.17 kB / 375.1 MB, free: 89.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.7526, allocations: 88.72 kB / 375.2 MB, free: 89.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.7534, allocations: 420.3 kB / 375.6 MB, free: 89.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.7534, allocations: 21.2 kB / 375.6 MB, free: 89.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.7535, allocations: 32.11 kB / 375.6 MB, free: 89.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.7546, allocations: 0.4929 MB / 376.1 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7546, allocations: 0 / 376.1 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.7547, allocations: 20.44 kB / 376.1 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7547, allocations: 3.688 kB / 376.1 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.7554, allocations: 352.5 kB / 376.5 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.7571, allocations: 0.864 MB / 377.4 MB, free: 88.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/0.7579, allocations: 0.4953 MB / 377.9 MB, free: 88.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.7587, allocations: 492.5 kB / 378.3 MB, free: 88.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.7587, allocations: 3.312 kB / 378.3 MB, free: 88.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.7598, allocations: 0.6401 MB / 379 MB, free: 88.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.046e-06/0.7598, allocations: 0 / 379 MB, free: 88.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002242/0.762, allocations: 1.16 MB / 380.1 MB, free: 88.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/0.7623, allocations: 282 kB / 380.4 MB, free: 88.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.7642, allocations: 1.024 MB / 381.4 MB, free: 87.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.7644, allocations: 44.61 kB / 381.5 MB, free: 87.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.7645, allocations: 148.5 kB / 381.6 MB, free: 87.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.7646, allocations: 76.95 kB / 381.7 MB, free: 87.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.7647, allocations: 11.81 kB / 381.7 MB, free: 87.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.7648, allocations: 340.4 kB / 382 MB, free: 87.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.7655, allocations: 346.4 kB / 382.4 MB, free: 87.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.7662, allocations: 345 kB / 382.7 MB, free: 86.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.7669, allocations: 496.5 kB / 383.2 MB, free: 86.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7669, allocations: 0 / 383.2 MB, free: 86.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001977/0.7689, allocations: 1.098 MB / 384.3 MB, free: 86.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.7691, allocations: 251 kB / 384.5 MB, free: 85.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7691, allocations: 0 / 384.5 MB, free: 85.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.7691, allocations: 3.344 kB / 384.5 MB, free: 85.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.625e-05/0.7692, allocations: 7.562 kB / 384.6 MB, free: 85.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7692, allocations: 3.844 kB / 384.6 MB, free: 85.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.7697, allocations: 39.86 kB / 384.6 MB, free: 85.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.77, allocations: 145.6 kB / 384.7 MB, free: 85.85 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: 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.000433/0.7704, allocations: 412 kB / 385.1 MB, free: 85.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.7706, allocations: 91.25 kB / 385.2 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.771, allocations: 148.3 kB / 385.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.771, allocations: 3.875 kB / 385.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.771, allocations: 0 / 385.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.771, allocations: 0 / 385.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.7743, allocations: 1.934 MB / 387.3 MB, free: 83.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7744, allocations: 3.938 kB / 387.3 MB, free: 83.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.7744, allocations: 11.8 kB / 387.3 MB, free: 83.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.7744, allocations: 0 / 387.3 MB, free: 83.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.864e-05/0.7745, allocations: 42.42 kB / 387.4 MB, free: 83.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.7745, allocations: 0 / 387.4 MB, free: 83.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7745, allocations: 0 / 387.4 MB, free: 83.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.7769, allocations: 1.353 MB / 388.7 MB, free: 82.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.7781, allocations: 0.5593 MB / 389.3 MB, free: 82.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.7784, allocations: 65.38 kB / 389.3 MB, free: 82.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.7789, allocations: 34.28 kB / 389.4 MB, free: 82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005557/0.7795, allocations: 236.2 kB / 389.6 MB, free: 81.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.7797, allocations: 163.1 kB / 389.8 MB, free: 81.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00153/0.7813, allocations: 0.8516 MB / 390.6 MB, free: 80.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7813, allocations: 3.75 kB / 390.6 MB, free: 80.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006342/0.7819, allocations: 124 kB / 390.7 MB, free: 80.81 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: 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.002705/0.7846, allocations: 1.991 MB / 392.7 MB, free: 78.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.7867, allocations: 1.501 MB / 394.2 MB, free: 77.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7867, allocations: 4 kB / 394.2 MB, free: 77.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.7879, allocations: 1.109 MB / 395.4 MB, free: 76.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.7897, allocations: 282.7 kB / 395.6 MB, free: 75.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.7936, allocations: 1.864 MB / 397.5 MB, free: 73.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.7944, allocations: 1.038 MB / 398.5 MB, free: 72.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.7947, allocations: 37.5 kB / 398.6 MB, free: 72.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.7948, allocations: 79.41 kB / 398.6 MB, free: 72.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.7948, allocations: 0 / 398.6 MB, free: 72.74 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.8352, allocations: 16.39 MB / 415 MB, free: 56.23 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.8355, allocations: 150.3 kB / 415.2 MB, free: 56.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.612, allocations: 0 / 415.2 MB, free: 56.01 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat