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.929/1.929, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.826e-05, allocations: 0 / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09052, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.4928, allocations: 78.95 MB / 378.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4931, allocations: 69.72 kB / 379 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2019/0.695, allocations: 55.14 MB / 434.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.6951, allocations: 0 / 434.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.943e-05/0.6951, allocations: 23.38 kB / 434.2 MB, free: 14.79 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.001847/0.697, allocations: 0.9616 MB / 435.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.697, allocations: 15.38 kB / 435.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.6973, allocations: 101.5 kB / 435.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.6976, allocations: 73.34 kB / 435.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6986, allocations: 466 kB / 435.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.6987, allocations: 44.84 kB / 435.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.6989, allocations: 56 kB / 435.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.7011, allocations: 0.8041 MB / 436.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.7011, allocations: 0 / 436.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.7013, allocations: 28 kB / 436.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.7013, allocations: 12 kB / 436.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.7031, allocations: 0.6077 MB / 437.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.7076, allocations: 1.672 MB / 439 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.7092, allocations: 0.5549 MB / 439.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.71, allocations: 286.5 kB / 439.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.7103, allocations: 8.562 kB / 439.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.7116, allocations: 0.5367 MB / 440.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.467e-06/0.7116, allocations: 0 / 440.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.002592/0.7142, allocations: 0.987 MB / 441.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.7143, allocations: 196.5 kB / 441.6 MB, free: 7.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.715, allocations: 359.2 kB / 441.9 MB, free: 7.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.7152, allocations: 49.7 kB / 442 MB, free: 7.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.7154, allocations: 244.5 kB / 442.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.7157, allocations: 122.3 kB / 442.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.7159, allocations: 19.98 kB / 442.3 MB, free: 6.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.716, allocations: 350.8 kB / 442.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.7169, allocations: 285.5 kB / 442.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000932/0.7179, allocations: 364.1 kB / 443.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.7189, allocations: 456.2 kB / 443.8 MB, free: 5.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.719, allocations: 3.938 kB / 443.8 MB, free: 5.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00279/0.7218, allocations: 1.09 MB / 444.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7219, allocations: 144.5 kB / 445 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.7219, allocations: 4 kB / 445 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.7219, allocations: 4 kB / 445 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.7223, allocations: 103.8 kB / 445.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.7223, allocations: 12.05 kB / 445.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.7232, allocations: 83.64 kB / 445.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008062/0.724, allocations: 0.5618 MB / 445.7 MB, free: 3.211 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.0005166/0.7246, allocations: 333.3 kB / 446.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.7248, allocations: 51.48 kB / 446.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.725, allocations: 48.55 kB / 446.2 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.725, allocations: 4 kB / 446.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.725, allocations: 0 / 446.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.725, allocations: 3.984 kB / 446.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.7265, allocations: 0.6514 MB / 446.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7265, allocations: 8 kB / 446.8 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.7267, allocations: 95.88 kB / 446.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7268, allocations: 7.953 kB / 446.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.727, allocations: 87.95 kB / 447 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.727, allocations: 0 / 447 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.727, allocations: 3.938 kB / 447 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.7295, allocations: 1.032 MB / 448.1 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.7302, allocations: 256.5 kB / 448.3 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.7305, allocations: 35.95 kB / 448.3 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.7311, allocations: 59.8 kB / 448.4 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/0.7317, allocations: 156.4 kB / 448.6 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008411/0.7325, allocations: 0.5541 MB / 449.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004418/0.733, allocations: 254.1 kB / 449.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.733, allocations: 0 / 449.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009573/0.734, allocations: 144 kB / 449.5 MB, free: 15.31 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.003272/0.7372, allocations: 1.645 MB / 451.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.7396, allocations: 0.9807 MB / 452.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7397, allocations: 0 / 452.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.741, allocations: 0.663 MB / 452.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/0.7442, allocations: 487.8 kB / 453.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.7474, allocations: 1 MB / 454.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.7481, allocations: 0.8947 MB / 455.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003802/0.7519, allocations: 1.496 MB / 456.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/0.7544, allocations: 0.6076 MB / 457.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7544, allocations: 0 / 457.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/0.8178, allocations: 21.87 MB / 479.1 MB, free: 1.027 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003526/0.8182, allocations: 149.5 kB / 479.3 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/3.92, allocations: 0 / 479.3 MB, free: 0.8047 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