Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.042e-05, allocations: 11.98 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.5741, allocations: 83.31 MB / 426.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5744, allocations: 69.41 kB / 426.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1878/0.7622, allocations: 38.05 MB / 464.6 MB, free: 9.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7623, allocations: 0 / 464.6 MB, free: 9.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.425e-05/0.7623, allocations: 12 kB / 464.6 MB, free: 9.242 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.001468/0.7638, allocations: 1.008 MB / 465.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7639, allocations: 8.031 kB / 465.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.7641, allocations: 66.48 kB / 465.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.7643, allocations: 86.97 kB / 465.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/0.7652, allocations: 415.7 kB / 466.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.7653, allocations: 16 kB / 466.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.7654, allocations: 28 kB / 466.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.7666, allocations: 0.5138 MB / 466.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.7667, allocations: 0 / 466.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.7668, allocations: 12 kB / 466.7 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.7668, allocations: 4 kB / 466.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.7677, allocations: 356.1 kB / 467.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.7697, allocations: 0.8652 MB / 468 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.7708, allocations: 0.4984 MB / 468.5 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009909/0.7718, allocations: 0.4966 MB / 469 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.7718, allocations: 0 / 469 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.7731, allocations: 0.6517 MB / 469.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.006e-06/0.7731, allocations: 0 / 469.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002696/0.7758, allocations: 1.179 MB / 470.8 MB, free: 2.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/0.7761, allocations: 275.3 kB / 471 MB, free: 2.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.7784, allocations: 1.027 MB / 472.1 MB, free: 1.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.7786, allocations: 41.69 kB / 472.1 MB, free: 1.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.7788, allocations: 146 kB / 472.3 MB, free: 1.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.7789, allocations: 83.14 kB / 472.3 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.779, allocations: 8 kB / 472.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.7792, allocations: 346.8 kB / 472.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.7801, allocations: 352.1 kB / 473 MB, free: 436 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.781, allocations: 348.5 kB / 473.4 MB, free: 88 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.7819, allocations: 0.4932 MB / 473.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7819, allocations: 0 / 473.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002494/0.7844, allocations: 1.114 MB / 475 MB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.7847, allocations: 243.9 kB / 475.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7847, allocations: 4 kB / 475.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.7848, allocations: 7.891 kB / 475.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.7848, allocations: 8 kB / 475.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7848, allocations: 0 / 475.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005995/0.7854, allocations: 39.81 kB / 475.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.7857, allocations: 152.2 kB / 475.4 MB, free: 13.9 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.0005555/0.7863, allocations: 425.9 kB / 475.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.7865, allocations: 87.06 kB / 475.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.787, allocations: 147.8 kB / 476.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.787, allocations: 0 / 476.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7871, allocations: 7.938 kB / 476.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7871, allocations: 0 / 476.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.7911, allocations: 1.95 MB / 478 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7911, allocations: 4 kB / 478 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.7912, allocations: 0 / 478 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.7912, allocations: 4 kB / 478 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.7913, allocations: 43.92 kB / 478.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.7913, allocations: 0 / 478.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7913, allocations: 4 kB / 478.1 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.7943, allocations: 1.365 MB / 479.4 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.7958, allocations: 0.5621 MB / 480 MB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.7961, allocations: 59.95 kB / 480.1 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/0.7967, allocations: 51.77 kB / 480.1 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006621/0.7974, allocations: 239.7 kB / 480.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/0.7977, allocations: 151.9 kB / 480.5 MB, free: 8.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002051/0.7998, allocations: 0.8617 MB / 481.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.7998, allocations: 0 / 481.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000861/0.8007, allocations: 120 kB / 481.5 MB, free: 7.609 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.003538/0.8042, allocations: 2.002 MB / 483.5 MB, free: 5.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.8069, allocations: 1.499 MB / 485 MB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.807, allocations: 0 / 485 MB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.8087, allocations: 1.117 MB / 486.1 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.8106, allocations: 282.1 kB / 486.4 MB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.8155, allocations: 1.888 MB / 488.3 MB, free: 0.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.8167, allocations: 1.039 MB / 489.3 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.817, allocations: 41.48 kB / 489.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.8171, allocations: 75.42 kB / 489.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8171, allocations: 0 / 489.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.8653, allocations: 16.46 MB / 0.494 GB, free: 14.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.8657, allocations: 145.3 kB / 0.4942 GB, free: 14.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.824, allocations: 4 kB / 0.4942 GB, free: 14.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat