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 2.044/2.044, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.301e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2894, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.4327, allocations: 78.29 MB / 372.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.433, allocations: 63.97 kB / 372.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4209/0.854, allocations: 54.73 MB / 427.3 MB, free: 101.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.854, allocations: 1.688 kB / 427.3 MB, free: 101.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.662e-05/0.8541, allocations: 18.77 kB / 427.3 MB, free: 101.7 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.001746/0.8558, allocations: 0.9662 MB / 428.3 MB, free: 101.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8559, allocations: 9.312 kB / 428.3 MB, free: 101.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.8562, allocations: 75.81 kB / 428.4 MB, free: 101.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.8572, allocations: 464.8 kB / 428.8 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.8573, allocations: 20.09 kB / 428.9 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.8576, allocations: 40.38 kB / 428.9 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/0.8594, allocations: 0.578 MB / 429.5 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.8612, allocations: 0.7357 MB / 430.2 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.8612, allocations: 4.359 kB / 430.2 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.8614, allocations: 7.141 kB / 430.2 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.8614, allocations: 13.47 kB / 430.2 MB, free: 100.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.8656, allocations: 1.577 MB / 431.8 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.867, allocations: 0.5412 MB / 432.4 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.8677, allocations: 265.4 kB / 432.6 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.868, allocations: 6.062 kB / 432.6 MB, free: 100.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.869, allocations: 0.5272 MB / 433.1 MB, free: 100.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.437e-06/0.8691, allocations: 1.562 kB / 433.1 MB, free: 100.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.002169/0.8712, allocations: 0.8191 MB / 434 MB, free: 100.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.8713, allocations: 197.3 kB / 434.2 MB, free: 100.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.8719, allocations: 339.6 kB / 434.5 MB, free: 100.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.872, allocations: 44.14 kB / 434.5 MB, free: 100.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.8722, allocations: 232.6 kB / 434.8 MB, free: 99.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.8725, allocations: 127.1 kB / 434.9 MB, free: 99.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.8726, allocations: 3.188 kB / 434.9 MB, free: 99.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.8727, allocations: 356.9 kB / 435.2 MB, free: 99.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.8734, allocations: 273.2 kB / 435.5 MB, free: 99.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.8741, allocations: 335.3 kB / 435.8 MB, free: 99.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.8748, allocations: 298.3 kB / 436.1 MB, free: 99.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8748, allocations: 1.781 kB / 436.1 MB, free: 99.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002076/0.8769, allocations: 0.9041 MB / 437 MB, free: 99.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.877, allocations: 150.7 kB / 437.2 MB, free: 99.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.877, allocations: 7.781 kB / 437.2 MB, free: 99.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.8771, allocations: 6.156 kB / 437.2 MB, free: 99.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.8775, allocations: 98.84 kB / 437.3 MB, free: 99.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.8775, allocations: 7.719 kB / 437.3 MB, free: 99.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.8783, allocations: 74.69 kB / 437.4 MB, free: 99.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006098/0.8789, allocations: 0.5648 MB / 437.9 MB, free: 99.25 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.0004535/0.8794, allocations: 317.7 kB / 438.2 MB, free: 98.97 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001913/0.8813, allocations: 0.8141 MB / 439.1 MB, free: 98.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.8815, allocations: 51.64 kB / 439.1 MB, free: 98.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.8817, allocations: 47.3 kB / 439.1 MB, free: 98.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.8817, allocations: 3.094 kB / 439.2 MB, free: 98.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8817, allocations: 3.75 kB / 439.2 MB, free: 98.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.8817, allocations: 0 / 439.2 MB, free: 98.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.8829, allocations: 0.5729 MB / 439.7 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.8829, allocations: 0 / 439.7 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.8832, allocations: 97.28 kB / 439.8 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.8832, allocations: 0.9375 kB / 439.8 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.8834, allocations: 96.53 kB / 439.9 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.8834, allocations: 3.406 kB / 439.9 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8834, allocations: 0 / 439.9 MB, free: 98.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.8853, allocations: 0.8578 MB / 440.8 MB, free: 98.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.8859, allocations: 252.2 kB / 441 MB, free: 98.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.8862, allocations: 17.77 kB / 441 MB, free: 98.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.8869, allocations: 65.33 kB / 441.1 MB, free: 98.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.8874, allocations: 149.9 kB / 441.3 MB, free: 98.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006039/0.888, allocations: 0.5613 MB / 441.8 MB, free: 98.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003304/0.8883, allocations: 237.7 kB / 442 MB, free: 98.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8883, allocations: 0 / 442 MB, free: 98.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000957/0.8893, allocations: 123 kB / 442.2 MB, free: 98.34 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.00232/0.8916, allocations: 1.462 MB / 443.6 MB, free: 97.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.8935, allocations: 0.9707 MB / 444.6 MB, free: 97.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8935, allocations: 0 / 444.6 MB, free: 97.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.8946, allocations: 0.6498 MB / 445.2 MB, free: 97.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/0.8977, allocations: 479.2 kB / 445.7 MB, free: 97.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.9006, allocations: 0.9494 MB / 446.7 MB, free: 96.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.9011, allocations: 0.8981 MB / 447.6 MB, free: 96.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003388/0.9045, allocations: 1.503 MB / 449.1 MB, free: 95.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002254/0.9068, allocations: 0.6082 MB / 449.7 MB, free: 94.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9068, allocations: 3.688 kB / 449.7 MB, free: 94.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07672/0.9835, allocations: 21.24 MB / 470.9 MB, free: 75.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.9838, allocations: 147.1 kB / 471.1 MB, free: 75.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/4.022, allocations: 0 / 471.1 MB, free: 75.55 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