Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_Multiplexer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.36e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2639, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3907, allocations: 73.01 MB / 331.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.391, allocations: 71.95 kB / 331.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.408/0.7991, allocations: 54.75 MB / 386.2 MB, free: 87.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7991, allocations: 0 / 386.2 MB, free: 87.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-05/0.7992, allocations: 21.94 kB / 386.2 MB, free: 87.38 MB / 314.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.001576/0.8008, allocations: 0.9702 MB / 387.2 MB, free: 86.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8008, allocations: 10.94 kB / 387.2 MB, free: 86.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.8011, allocations: 75.22 kB / 387.3 MB, free: 86.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/0.8021, allocations: 462.4 kB / 387.7 MB, free: 86.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.8021, allocations: 31.97 kB / 387.7 MB, free: 86.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.8023, allocations: 35.83 kB / 387.8 MB, free: 86.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/0.8038, allocations: 0.5779 MB / 388.3 MB, free: 86.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.8054, allocations: 0.7288 MB / 389.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8054, allocations: 0 / 389.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.8056, allocations: 7.5 kB / 389.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.8056, allocations: 12.59 kB / 389.1 MB, free: 85.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.8093, allocations: 1.568 MB / 390.7 MB, free: 84.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.8103, allocations: 0.5423 MB / 391.2 MB, free: 83.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.8108, allocations: 266.4 kB / 391.5 MB, free: 83.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.8111, allocations: 12.56 kB / 391.5 MB, free: 83.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008841/0.812, allocations: 0.5247 MB / 392 MB, free: 82.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.457e-06/0.812, allocations: 0 / 392 MB, free: 82.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.001831/0.8139, allocations: 0.8109 MB / 392.8 MB, free: 82.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.814, allocations: 196.5 kB / 393 MB, free: 81.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.8144, allocations: 349.9 kB / 393.3 MB, free: 81.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.8146, allocations: 41.64 kB / 393.4 MB, free: 81.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.8148, allocations: 248.5 kB / 393.6 MB, free: 81.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.815, allocations: 117.7 kB / 393.7 MB, free: 81.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.8151, allocations: 4 kB / 393.8 MB, free: 81.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.8152, allocations: 358.8 kB / 394.1 MB, free: 80.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.8158, allocations: 269.5 kB / 394.4 MB, free: 80.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.8164, allocations: 336.1 kB / 394.7 MB, free: 80.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.8171, allocations: 315.5 kB / 395 MB, free: 79.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8171, allocations: 0 / 395 MB, free: 79.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001903/0.819, allocations: 0.9019 MB / 395.9 MB, free: 78.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/0.8191, allocations: 148.1 kB / 396 MB, free: 78.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8192, allocations: 0 / 396 MB, free: 78.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.8192, allocations: 11.95 kB / 396.1 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.8195, allocations: 103.6 kB / 396.2 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.8196, allocations: 8.062 kB / 396.2 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.8204, allocations: 67.61 kB / 396.2 MB, free: 78.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/0.8209, allocations: 0.5574 MB / 396.8 MB, free: 78.08 MB / 314.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.0004017/0.8214, allocations: 312.7 kB / 397.1 MB, free: 77.75 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001703/0.8231, allocations: 0.8186 MB / 397.9 MB, free: 76.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.8233, allocations: 51.39 kB / 398 MB, free: 76.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.8234, allocations: 44.55 kB / 398 MB, free: 76.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8234, allocations: 8 kB / 398 MB, free: 76.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8234, allocations: 0 / 398 MB, free: 76.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.8235, allocations: 3.984 kB / 398 MB, free: 76.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.8245, allocations: 0.5742 MB / 398.6 MB, free: 76.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.8245, allocations: 0 / 398.6 MB, free: 76.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.8248, allocations: 91.8 kB / 398.7 MB, free: 76.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.8248, allocations: 3.984 kB / 398.7 MB, free: 76.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.825, allocations: 83.95 kB / 398.8 MB, free: 76.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.825, allocations: 11.77 kB / 398.8 MB, free: 76.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.825, allocations: 0 / 398.8 MB, free: 76.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.8267, allocations: 0.8559 MB / 399.6 MB, free: 75.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.8273, allocations: 248.5 kB / 399.9 MB, free: 74.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.8276, allocations: 20 kB / 399.9 MB, free: 74.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.8282, allocations: 63.61 kB / 400 MB, free: 74.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004633/0.8287, allocations: 152.4 kB / 400.1 MB, free: 74.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005641/0.8293, allocations: 0.5618 MB / 400.7 MB, free: 74.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.8296, allocations: 236.6 kB / 400.9 MB, free: 73.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.362e-06/0.8296, allocations: 0 / 400.9 MB, free: 73.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007973/0.8304, allocations: 123.9 kB / 401 MB, free: 73.77 MB / 314.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.002149/0.8325, allocations: 1.47 MB / 402.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.8341, allocations: 0.9527 MB / 403.4 MB, free: 71.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8342, allocations: 3.938 kB / 403.5 MB, free: 71.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.835, allocations: 0.6549 MB / 404.1 MB, free: 70.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.8379, allocations: 473 kB / 404.6 MB, free: 70.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.8404, allocations: 0.9371 MB / 405.5 MB, free: 69.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.8408, allocations: 0.9022 MB / 406.4 MB, free: 68.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003202/0.8441, allocations: 1.508 MB / 407.9 MB, free: 66.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/0.8463, allocations: 0.6076 MB / 408.5 MB, free: 66.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.163e-06/0.8463, allocations: 0 / 408.5 MB, free: 66.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07712/0.9234, allocations: 21.26 MB / 429.8 MB, free: 44.44 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.9237, allocations: 143.1 kB / 429.9 MB, free: 44.24 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/3.673, allocations: 3.938 kB / 429.9 MB, free: 44.24 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat does not exist to compare? outputFormat=mat