Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Multiplexer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.915e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5251, allocations: 83.18 MB / 400.2 MB, free: 4.465 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5254, allocations: 70.16 kB / 400.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2119/0.7373, allocations: 55.21 MB / 455.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7374, allocations: 0 / 455.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.184e-05/0.7374, allocations: 16 kB / 455.5 MB, free: 5.086 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002328/0.7398, allocations: 0.9659 MB / 456.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.7399, allocations: 12.03 kB / 456.5 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003941/0.7403, allocations: 106.5 kB / 456.6 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.7406, allocations: 75.16 kB / 456.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.7419, allocations: 472.9 kB / 457.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.742, allocations: 41.31 kB / 457.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.7423, allocations: 59.98 kB / 457.2 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.7448, allocations: 0.808 MB / 458 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.7448, allocations: 0 / 458 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.745, allocations: 28 kB / 458 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.7451, allocations: 12 kB / 458 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.7471, allocations: 0.6039 MB / 458.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.7527, allocations: 1.686 MB / 460.3 MB, free: 40 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.7546, allocations: 0.5627 MB / 460.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009397/0.7556, allocations: 294 kB / 461.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.7559, allocations: 4.562 kB / 461.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/0.7573, allocations: 0.5483 MB / 461.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 5.19e-06/0.7573, allocations: 0 / 461.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.002792/0.7601, allocations: 0.991 MB / 462.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.7603, allocations: 200.5 kB / 462.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.7612, allocations: 359.1 kB / 463.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003492/0.7616, allocations: 49.7 kB / 463.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.762, allocations: 240.8 kB / 463.6 MB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.7624, allocations: 134.5 kB / 463.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.7626, allocations: 12 kB / 463.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.7628, allocations: 358.8 kB / 464.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009436/0.7637, allocations: 289.5 kB / 464.3 MB, free: 11.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.7649, allocations: 356.1 kB / 464.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.7662, allocations: 471.9 kB / 465.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.7663, allocations: 0 / 465.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003156/0.7695, allocations: 1.087 MB / 466.2 MB, free: 9.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.7697, allocations: 148.4 kB / 466.4 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.7697, allocations: 7.953 kB / 466.4 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.7697, allocations: 11.94 kB / 466.4 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.7702, allocations: 103.9 kB / 466.5 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.7702, allocations: 11.92 kB / 466.5 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.7712, allocations: 91.7 kB / 466.6 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008957/0.7721, allocations: 0.558 MB / 467.2 MB, free: 8.957 MB / 378.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 (78): * Single equations (assignments): 73 * 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.0006556/0.7728, allocations: 329.8 kB / 467.5 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.7731, allocations: 51.44 kB / 467.5 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.7733, allocations: 52.77 kB / 467.6 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.7733, allocations: 7.953 kB / 467.6 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7733, allocations: 0 / 467.6 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.7733, allocations: 7.984 kB / 467.6 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.775, allocations: 0.6618 MB / 468.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.775, allocations: 0 / 468.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.7754, allocations: 103.8 kB / 468.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.7754, allocations: 4 kB / 468.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/0.7757, allocations: 87.95 kB / 468.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.7757, allocations: 4 kB / 468.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7757, allocations: 3.953 kB / 468.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.7786, allocations: 1.036 MB / 469.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008368/0.7795, allocations: 256.5 kB / 469.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.7798, allocations: 20 kB / 469.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.7806, allocations: 71.8 kB / 469.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005698/0.7811, allocations: 160.3 kB / 470 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008547/0.782, allocations: 0.5657 MB / 470.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004968/0.7825, allocations: 246.2 kB / 470.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7826, allocations: 0 / 470.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001116/0.7837, allocations: 144 kB / 470.9 MB, free: 5.023 MB / 378.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 (58): * Single equations (assignments): 52 * 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.003455/0.7872, allocations: 1.649 MB / 472.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.7898, allocations: 0.9923 MB / 473.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7899, allocations: 0 / 473.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.7913, allocations: 0.6669 MB / 474.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.7949, allocations: 476.4 kB / 474.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.7987, allocations: 1.012 MB / 475.7 MB, free: 28 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.7995, allocations: 0.9065 MB / 476.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0041/0.8036, allocations: 1.493 MB / 478.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/0.8064, allocations: 0.6115 MB / 478.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.023e-06/0.8065, allocations: 0 / 478.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06874/0.8752, allocations: 21.99 MB / 0.489 GB, free: 6.578 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003642/0.8757, allocations: 153.6 kB / 0.4891 GB, free: 6.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.655, allocations: 0 / 0.4891 GB, free: 6.348 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat does not exist to compare? outputFormat=mat