Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.431e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.09978, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.5141, allocations: 82.15 MB / 399.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5144, allocations: 73.14 kB / 399.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1468/0.6612, allocations: 37.67 MB / 436.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6613, allocations: 0 / 436.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.6613, allocations: 12 kB / 436.9 MB, free: 5.977 MB / 346.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.001489/0.6628, allocations: 1.009 MB / 437.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.6629, allocations: 12.03 kB / 437.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.6631, allocations: 55.86 kB / 438 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.6633, allocations: 86.97 kB / 438.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.6642, allocations: 425.2 kB / 438.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.6643, allocations: 29.16 kB / 438.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.6644, allocations: 23.31 kB / 438.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.6657, allocations: 0.5037 MB / 439.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6657, allocations: 0 / 439.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.6658, allocations: 14.88 kB / 439.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6658, allocations: 4 kB / 439.1 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.6667, allocations: 357.8 kB / 439.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.6687, allocations: 0.8657 MB / 440.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6698, allocations: 0.5014 MB / 440.8 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009795/0.6708, allocations: 0.4888 MB / 441.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.6708, allocations: 0 / 441.3 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.6721, allocations: 0.6488 MB / 441.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.976e-06/0.6721, allocations: 0 / 441.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002698/0.6748, allocations: 1.187 MB / 443.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/0.6751, allocations: 277.2 kB / 443.4 MB, free: 424 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/0.6775, allocations: 1.029 MB / 444.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6777, allocations: 40.27 kB / 444.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.6779, allocations: 147.9 kB / 444.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.6781, allocations: 77.28 kB / 444.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.6782, allocations: 11.25 kB / 444.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.6784, allocations: 347.5 kB / 445 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008255/0.6792, allocations: 359.4 kB / 445.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/0.6801, allocations: 353.1 kB / 445.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.6809, allocations: 496.9 kB / 446.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6809, allocations: 0 / 446.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002618/0.6836, allocations: 1.122 MB / 447.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.6839, allocations: 243.8 kB / 447.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.6839, allocations: 0 / 447.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.6839, allocations: 0 / 447.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.684, allocations: 4 kB / 447.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.684, allocations: 0 / 447.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/0.6846, allocations: 47.81 kB / 447.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.6849, allocations: 152.2 kB / 447.8 MB, free: 12.25 MB / 362.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.0005939/0.6855, allocations: 406 kB / 448.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.6857, allocations: 94.92 kB / 448.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.6862, allocations: 151.8 kB / 448.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6863, allocations: 0 / 448.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6863, allocations: 8 kB / 448.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6863, allocations: 0 / 448.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.6904, allocations: 1.954 MB / 450.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6905, allocations: 3.938 kB / 450.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.6905, allocations: 4 kB / 450.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6905, allocations: 3.938 kB / 450.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.6907, allocations: 35.98 kB / 450.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.6907, allocations: 4 kB / 450.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6907, allocations: 7.938 kB / 450.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.6937, allocations: 1.369 MB / 451.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.6954, allocations: 0.5582 MB / 452.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.6957, allocations: 63.95 kB / 452.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.6963, allocations: 27.89 kB / 452.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006833/0.697, allocations: 243.7 kB / 452.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000287/0.6973, allocations: 167.8 kB / 452.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002176/0.6995, allocations: 0.85 MB / 453.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.6995, allocations: 0 / 453.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008969/0.7004, allocations: 124 kB / 453.8 MB, free: 5.965 MB / 362.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.003702/0.7042, allocations: 2.017 MB / 455.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.7072, allocations: 1.507 MB / 457.3 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.7072, allocations: 0 / 457.3 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.709, allocations: 1.105 MB / 458.4 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.7111, allocations: 285.8 kB / 458.7 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.7166, allocations: 1.876 MB / 460.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.7179, allocations: 1.042 MB / 461.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.7182, allocations: 45.44 kB / 461.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.7184, allocations: 79.41 kB / 461.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.7184, allocations: 0 / 461.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.8232, allocations: 16.45 MB / 478.2 MB, free: 13.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/0.8236, allocations: 161.2 kB / 478.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.655, allocations: 0 / 478.4 MB, free: 12.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat