Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_Multiplexer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.164e-05, allocations: 5.406 kB / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09232, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5071, allocations: 78.94 MB / 378.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5075, allocations: 69.77 kB / 379 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1632/0.6706, allocations: 55.14 MB / 434.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6707, allocations: 0 / 434.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.185e-05/0.6708, allocations: 19.56 kB / 434.1 MB, free: 14.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001881/0.6726, allocations: 0.9628 MB / 435.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6727, allocations: 9.562 kB / 435.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002694/0.673, allocations: 101 kB / 435.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.6733, allocations: 76.78 kB / 435.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.6744, allocations: 469.5 kB / 435.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.6745, allocations: 53.31 kB / 435.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.6748, allocations: 56 kB / 435.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.6772, allocations: 0.8105 MB / 436.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.6773, allocations: 0 / 436.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.6774, allocations: 24 kB / 436.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.6775, allocations: 12 kB / 436.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.6794, allocations: 0.6104 MB / 437.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.6843, allocations: 1.677 MB / 439 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.686, allocations: 0.5562 MB / 439.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.6869, allocations: 290.4 kB / 439.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.6871, allocations: 8.562 kB / 439.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.6884, allocations: 0.5339 MB / 440.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.497e-06/0.6885, allocations: 0 / 440.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.002697/0.6912, allocations: 0.991 MB / 441.4 MB, free: 7.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.6913, allocations: 196.4 kB / 441.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.6921, allocations: 359.2 kB / 441.9 MB, free: 7.234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.6923, allocations: 49.69 kB / 441.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.6925, allocations: 229 kB / 442.2 MB, free: 6.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.6928, allocations: 130.1 kB / 442.3 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.693, allocations: 20 kB / 442.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6931, allocations: 350.8 kB / 442.7 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008932/0.694, allocations: 293.5 kB / 442.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009405/0.695, allocations: 357.7 kB / 443.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.6961, allocations: 451.6 kB / 443.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6961, allocations: 0 / 443.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002872/0.699, allocations: 1.118 MB / 444.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6991, allocations: 144.5 kB / 445 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6992, allocations: 0 / 445 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.6992, allocations: 8 kB / 445 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.6996, allocations: 103.8 kB / 445.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.6996, allocations: 4 kB / 445.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008982/0.7005, allocations: 83.62 kB / 445.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008203/0.7014, allocations: 0.5736 MB / 445.8 MB, free: 3.242 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 5 * 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.000595/0.702, allocations: 328.4 kB / 446.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.7022, allocations: 51.48 kB / 446.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.7024, allocations: 56.55 kB / 446.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.7024, allocations: 4 kB / 446.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7025, allocations: 7.938 kB / 446.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.7025, allocations: 3.984 kB / 446.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.704, allocations: 0.649 MB / 446.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.704, allocations: 0 / 446.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.7043, allocations: 91.88 kB / 446.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.7043, allocations: 3.953 kB / 447 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.7045, allocations: 95.94 kB / 447 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.7045, allocations: 0 / 447 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7046, allocations: 4 kB / 447 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.7073, allocations: 1.028 MB / 448.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008281/0.7082, allocations: 256.5 kB / 448.3 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.7084, allocations: 23.95 kB / 448.4 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.7091, allocations: 67.8 kB / 448.4 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005137/0.7097, allocations: 156.4 kB / 448.6 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008631/0.7105, allocations: 0.558 MB / 449.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004857/0.711, allocations: 254.1 kB / 449.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.711, allocations: 0 / 449.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001017/0.7121, allocations: 144 kB / 449.5 MB, free: 15.35 MB / 346.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: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (Enable.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.003374/0.7155, allocations: 1.641 MB / 451.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002515/0.718, allocations: 0.9888 MB / 452.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.7181, allocations: 8.125 kB / 452.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.7195, allocations: 0.6641 MB / 452.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.7231, allocations: 483.8 kB / 453.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.7266, allocations: 0.986 MB / 454.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.7274, allocations: 0.8987 MB / 455.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004374/0.7318, allocations: 1.5 MB / 456.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/0.7346, allocations: 0.6076 MB / 457.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.7347, allocations: 0 / 457.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0789/0.8136, allocations: 21.91 MB / 479.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/0.814, allocations: 154.8 kB / 479.3 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.741, allocations: 4 kB / 479.3 MB, free: 0.7852 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat does not exist to compare? outputFormat=mat