Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_Multiplexer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.377/2.377, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.353e-05, allocations: 0 / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.352, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5188, allocations: 78.29 MB / 372.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.5192, allocations: 71.95 kB / 372.6 MB, free: 3.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5571/1.076, allocations: 54.73 MB / 427.4 MB, free: 101.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.076, allocations: 1.031 kB / 427.4 MB, free: 101.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.44e-05/1.076, allocations: 18.5 kB / 427.4 MB, free: 101.8 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002181/1.079, allocations: 0.9635 MB / 428.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.079, allocations: 10.09 kB / 428.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/1.079, allocations: 74.47 kB / 428.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.081, allocations: 474.1 kB / 428.9 MB, free: 101 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/1.081, allocations: 20.47 kB / 428.9 MB, free: 101 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/1.081, allocations: 40.19 kB / 429 MB, free: 101 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001941/1.083, allocations: 0.581 MB / 429.5 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/1.085, allocations: 0.7293 MB / 430.3 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/1.085, allocations: 0 / 430.3 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.085, allocations: 3.75 kB / 430.3 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/1.085, allocations: 16.53 kB / 430.3 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/1.09, allocations: 1.572 MB / 431.9 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.092, allocations: 0.5375 MB / 432.4 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007162/1.093, allocations: 267.6 kB / 432.7 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/1.093, allocations: 9.312 kB / 432.7 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.094, allocations: 0.5209 MB / 433.2 MB, free: 100.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 5.38e-06/1.094, allocations: 0 / 433.2 MB, free: 100.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.002512/1.097, allocations: 0.8184 MB / 434 MB, free: 100.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.873e-05/1.097, allocations: 200.2 kB / 434.2 MB, free: 100.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/1.098, allocations: 339.2 kB / 434.5 MB, free: 100.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/1.098, allocations: 40.11 kB / 434.6 MB, free: 100.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/1.098, allocations: 234.7 kB / 434.8 MB, free: 99.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/1.098, allocations: 129.2 kB / 434.9 MB, free: 99.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.099, allocations: 7.641 kB / 434.9 MB, free: 99.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/1.099, allocations: 352.3 kB / 435.3 MB, free: 99.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/1.099, allocations: 273.8 kB / 435.6 MB, free: 99.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/1.1, allocations: 346.3 kB / 435.9 MB, free: 99.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/1.101, allocations: 294.6 kB / 436.2 MB, free: 99.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.101, allocations: 0 / 436.2 MB, free: 99.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002402/1.103, allocations: 0.9061 MB / 437.1 MB, free: 99.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.104, allocations: 149.8 kB / 437.2 MB, free: 99.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.104, allocations: 3.953 kB / 437.2 MB, free: 99.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.104, allocations: 5.625 kB / 437.2 MB, free: 99.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/1.104, allocations: 105.2 kB / 437.3 MB, free: 99.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.104, allocations: 6.766 kB / 437.4 MB, free: 99.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009934/1.105, allocations: 73.5 kB / 437.4 MB, free: 99.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000727/1.106, allocations: 0.5638 MB / 438 MB, free: 99.27 MB / 362.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.0005518/1.106, allocations: 324.6 kB / 438.3 MB, free: 98.99 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002277/1.109, allocations: 0.8135 MB / 439.1 MB, free: 98.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/1.109, allocations: 55.36 kB / 439.2 MB, free: 98.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/1.109, allocations: 48.34 kB / 439.2 MB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.109, allocations: 6.75 kB / 439.2 MB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.109, allocations: 0 / 439.2 MB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.109, allocations: 4 kB / 439.2 MB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.111, allocations: 0.5732 MB / 439.8 MB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.111, allocations: 0 / 439.8 MB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/1.111, allocations: 93.73 kB / 439.9 MB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.111, allocations: 3.938 kB / 439.9 MB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/1.111, allocations: 86.55 kB / 440 MB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.111, allocations: 3.406 kB / 440 MB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.111, allocations: 0 / 440 MB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/1.114, allocations: 0.8597 MB / 440.8 MB, free: 98.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/1.114, allocations: 254 kB / 441.1 MB, free: 98.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/1.115, allocations: 18.34 kB / 441.1 MB, free: 98.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/1.116, allocations: 60.89 kB / 441.2 MB, free: 98.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/1.116, allocations: 153.5 kB / 441.3 MB, free: 98.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000729/1.117, allocations: 0.5582 MB / 441.9 MB, free: 98.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003935/1.117, allocations: 233.2 kB / 442.1 MB, free: 98.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.117, allocations: 0 / 442.1 MB, free: 98.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001096/1.118, allocations: 127.2 kB / 442.2 MB, free: 98.36 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: 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.00265/1.121, allocations: 1.466 MB / 443.7 MB, free: 97.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/1.123, allocations: 0.9651 MB / 444.7 MB, free: 97.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.123, allocations: 0 / 444.7 MB, free: 97.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/1.124, allocations: 0.6543 MB / 445.3 MB, free: 97.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/1.128, allocations: 477.6 kB / 445.8 MB, free: 97.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/1.131, allocations: 0.9487 MB / 446.7 MB, free: 96.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/1.132, allocations: 0.8966 MB / 447.6 MB, free: 96.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003941/1.136, allocations: 1.498 MB / 449.1 MB, free: 95.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002641/1.138, allocations: 0.6111 MB / 449.7 MB, free: 94.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/1.138, allocations: 0 / 449.7 MB, free: 94.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08146/1.22, allocations: 21.28 MB / 471 MB, free: 75.59 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000216/1.22, allocations: 139.9 kB / 471.2 MB, free: 75.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.439/4.659, allocations: 0 / 471.2 MB, free: 75.4 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat does not exist to compare? outputFormat=mat