Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREG,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.927e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09843, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5077, allocations: 82.11 MB / 399.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5079, allocations: 63.47 kB / 399.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09691/0.6049, allocations: 27.95 MB / 427.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6049, allocations: 0 / 427.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.605, allocations: 12 kB / 427.2 MB, free: 14.21 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.001426/0.6064, allocations: 1.008 MB / 428.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.6065, allocations: 12.03 kB / 428.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.6066, allocations: 53.92 kB / 428.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.6068, allocations: 86.97 kB / 428.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.6077, allocations: 427.4 kB / 428.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.6078, allocations: 15.44 kB / 428.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.6079, allocations: 27.5 kB / 428.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.6091, allocations: 0.5204 MB / 429.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6091, allocations: 4 kB / 429.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.6092, allocations: 15.3 kB / 429.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6092, allocations: 4 kB / 429.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.6101, allocations: 353.2 kB / 429.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.612, allocations: 0.8593 MB / 430.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/0.613, allocations: 0.5086 MB / 431 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009064/0.614, allocations: 495.4 kB / 431.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.614, allocations: 0 / 431.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.6152, allocations: 0.6568 MB / 432.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.655e-06/0.6152, allocations: 0 / 432.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002607/0.6178, allocations: 1.174 MB / 433.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/0.6181, allocations: 280.7 kB / 433.6 MB, free: 8.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.6204, allocations: 1.03 MB / 434.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.6206, allocations: 40.06 kB / 434.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.6207, allocations: 148.7 kB / 434.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.6209, allocations: 86.2 kB / 434.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.621, allocations: 11.19 kB / 434.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6212, allocations: 341.7 kB / 435.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/0.622, allocations: 345.3 kB / 435.6 MB, free: 7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.6228, allocations: 357.7 kB / 435.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.6236, allocations: 499 kB / 436.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6236, allocations: 0 / 436.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002345/0.6259, allocations: 1.127 MB / 437.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.6262, allocations: 241.7 kB / 437.8 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6262, allocations: 4 kB / 437.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6262, allocations: 0 / 437.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.674e-05/0.6263, allocations: 4 kB / 437.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.6263, allocations: 0 / 437.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.6269, allocations: 38.69 kB / 437.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.6271, allocations: 151.8 kB / 438 MB, free: 4.93 MB / 346.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.0005204/0.6277, allocations: 420.6 kB / 438.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.6279, allocations: 94.95 kB / 438.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.6283, allocations: 145.8 kB / 438.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6284, allocations: 0 / 438.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6284, allocations: 0 / 438.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6284, allocations: 3.984 kB / 438.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.6321, allocations: 1.946 MB / 440.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6321, allocations: 4 kB / 440.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.6321, allocations: 0 / 440.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.6322, allocations: 4 kB / 440.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.6323, allocations: 38.09 kB / 440.6 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.6323, allocations: 4 kB / 440.6 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6323, allocations: 3.938 kB / 440.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.635, allocations: 1.373 MB / 442 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.6363, allocations: 0.5635 MB / 442.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.6366, allocations: 61.59 kB / 442.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.6371, allocations: 39.89 kB / 442.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/0.6378, allocations: 242.5 kB / 442.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/0.6381, allocations: 151.4 kB / 443.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001813/0.6399, allocations: 0.8616 MB / 443.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6399, allocations: 0 / 443.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006736/0.6406, allocations: 120 kB / 444 MB, free: 15.76 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,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.003377/0.644, allocations: 2.013 MB / 446.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.6468, allocations: 1.504 MB / 447.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.6468, allocations: 0 / 447.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.6486, allocations: 1.121 MB / 448.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.6506, allocations: 281.4 kB / 449 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/0.6558, allocations: 1.884 MB / 450.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.657, allocations: 1.046 MB / 451.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002322/0.6573, allocations: 41.44 kB / 451.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.6575, allocations: 75.42 kB / 452 MB, free: 7.492 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6575, allocations: 0 / 452 MB, free: 7.492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06152/0.719, allocations: 16.45 MB / 468.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.7193, allocations: 148.1 kB / 468.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.479, allocations: 0 / 468.6 MB, free: 6.617 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_res.mat does not exist to compare? outputFormat=mat