Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREG,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.72e-05, allocations: 7.984 kB / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09195, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5055, allocations: 77.87 MB / 377.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5058, allocations: 69.92 kB / 377.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09044/0.5963, allocations: 27.92 MB / 405.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5964, allocations: 0 / 405.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.5964, allocations: 15.62 kB / 405.8 MB, free: 8.344 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.001613/0.598, allocations: 1.011 MB / 406.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5981, allocations: 7.875 kB / 406.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.5983, allocations: 61.77 kB / 406.9 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.5986, allocations: 89.33 kB / 407 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5997, allocations: 421.2 kB / 407.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.5997, allocations: 19.5 kB / 407.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.5999, allocations: 23.41 kB / 407.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.6015, allocations: 0.4982 MB / 407.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.6016, allocations: 4 kB / 408 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.6017, allocations: 19.06 kB / 408 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.6017, allocations: 3.875 kB / 408 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.6029, allocations: 360.5 kB / 408.3 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.6054, allocations: 0.8698 MB / 409.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.6068, allocations: 0.4979 MB / 409.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.608, allocations: 0.4912 MB / 410.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.6081, allocations: 3.984 kB / 410.2 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.6096, allocations: 0.6595 MB / 410.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 4.048e-06/0.6096, allocations: 0 / 410.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003609/0.6132, allocations: 1.177 MB / 412 MB, free: 5.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.6135, allocations: 279.2 kB / 412.3 MB, free: 5.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.6164, allocations: 1.021 MB / 413.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.6166, allocations: 43.64 kB / 413.4 MB, free: 4.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6168, allocations: 147.9 kB / 413.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.617, allocations: 85.84 kB / 413.6 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6171, allocations: 11.38 kB / 413.6 MB, free: 4.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6172, allocations: 347.8 kB / 413.9 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.6183, allocations: 351.1 kB / 414.3 MB, free: 4.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.6194, allocations: 356.4 kB / 414.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.6205, allocations: 495.5 kB / 415.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6205, allocations: 0 / 415.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003185/0.6237, allocations: 1.119 MB / 416.2 MB, free: 3.539 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.624, allocations: 243.4 kB / 416.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.624, allocations: 3.844 kB / 416.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.624, allocations: 0 / 416.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.6241, allocations: 7.875 kB / 416.5 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.6241, allocations: 7.625 kB / 416.5 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.6249, allocations: 42.45 kB / 416.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/0.6252, allocations: 151.7 kB / 416.7 MB, free: 3.262 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.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.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.0005762/0.6258, allocations: 403.1 kB / 417.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.6261, allocations: 89.47 kB / 417.2 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.6267, allocations: 158.1 kB / 417.3 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.6267, allocations: 3.812 kB / 417.3 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6267, allocations: 0 / 417.3 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6268, allocations: 0 / 417.3 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.6316, allocations: 1.95 MB / 419.3 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6316, allocations: 0 / 419.3 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.6317, allocations: 2.938 kB / 419.3 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.6317, allocations: 7.812 kB / 419.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.6318, allocations: 35.02 kB / 419.3 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6318, allocations: 3.984 kB / 419.3 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6319, allocations: 0 / 419.3 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.6355, allocations: 1.377 MB / 420.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/0.6374, allocations: 0.5584 MB / 421.3 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.6378, allocations: 56.83 kB / 421.3 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.6386, allocations: 46.62 kB / 421.4 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007821/0.6394, allocations: 242.9 kB / 421.6 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/0.6397, allocations: 157.1 kB / 421.7 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002801/0.6426, allocations: 0.8652 MB / 422.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.6426, allocations: 0 / 422.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001161/0.6438, allocations: 123.2 kB / 422.7 MB, free: 0.6133 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,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.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.004968/0.6488, allocations: 2.003 MB / 424.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.6526, allocations: 1.508 MB / 426.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6526, allocations: 0 / 426.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.6548, allocations: 1.115 MB / 427.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.6576, allocations: 269.1 kB / 427.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/0.6639, allocations: 1.887 MB / 429.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.665, allocations: 1.041 MB / 430.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.6653, allocations: 40.86 kB / 430.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6655, allocations: 78.25 kB / 430.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6655, allocations: 0 / 430.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.7161, allocations: 16.45 MB / 447.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.7164, allocations: 149.3 kB / 447.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.475, allocations: 0 / 447.3 MB, free: 14.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG_res.mat does not exist to compare? outputFormat=mat