Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.35e-05, allocations: 7.438 kB / 292.2 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 50.41 MB / 342.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.5942, allocations: 82.92 MB / 425.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5944, allocations: 66.41 kB / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09873/0.6932, allocations: 28.18 MB / 453.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.6932, allocations: 4 kB / 453.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.6933, allocations: 4 kB / 453.8 MB, free: 3.711 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008086/0.6941, allocations: 0.6814 MB / 454.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.6941, allocations: 8.031 kB / 454.5 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/0.6942, allocations: 42.55 kB / 454.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.6943, allocations: 43.53 kB / 454.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.6948, allocations: 273.3 kB / 454.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.6948, allocations: 12 kB / 454.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.6949, allocations: 15.95 kB / 454.9 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.6954, allocations: 157.6 kB / 455 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6954, allocations: 4 kB / 455 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.6954, allocations: 8 kB / 455 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6955, allocations: 0 / 455 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.6957, allocations: 87.84 kB / 455.1 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.6968, allocations: 0.5005 MB / 455.6 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.6971, allocations: 118.5 kB / 455.7 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.6974, allocations: 104.9 kB / 455.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.6974, allocations: 4 kB / 455.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.6979, allocations: 246.7 kB / 456.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.6979, allocations: 0 / 456.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001112/0.699, allocations: 0.4899 MB / 456.6 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6991, allocations: 195.9 kB / 456.8 MB, free: 460 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.7002, allocations: 498.8 kB / 457.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.7002, allocations: 37.64 kB / 457.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.7004, allocations: 121 kB / 457.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.7004, allocations: 27.7 kB / 457.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.7005, allocations: 4.109 kB / 457.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7006, allocations: 338.7 kB / 457.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.7009, allocations: 83.97 kB / 457.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.7011, allocations: 75.98 kB / 457.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.7014, allocations: 208.6 kB / 458.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7014, allocations: 0 / 458.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009808/0.7024, allocations: 489.9 kB / 458.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7025, allocations: 152.5 kB / 458.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.7026, allocations: 0 / 458.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7026, allocations: 4 kB / 458.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.7026, allocations: 4 kB / 458.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7026, allocations: 0 / 458.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.7029, allocations: 23.83 kB / 458.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.7031, allocations: 105.2 kB / 458.9 MB, free: 14.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.000253/0.7034, allocations: 275.2 kB / 459.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.7035, allocations: 39.53 kB / 459.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.7037, allocations: 67.77 kB / 459.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7037, allocations: 0 / 459.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.7037, allocations: 4 kB / 459.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7037, allocations: 4 kB / 459.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.7054, allocations: 0.9283 MB / 460.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7054, allocations: 0 / 460.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.7054, allocations: 0 / 460.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.7054, allocations: 0 / 460.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.7055, allocations: 23.98 kB / 460.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7055, allocations: 0 / 460.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7055, allocations: 0 / 460.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.7067, allocations: 0.6361 MB / 460.9 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.7072, allocations: 260.3 kB / 461.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7074, allocations: 12.19 kB / 461.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.7077, allocations: 19.98 kB / 461.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.7079, allocations: 59.92 kB / 461.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.7081, allocations: 101.2 kB / 461.3 MB, free: 11.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007993/0.7089, allocations: 416.9 kB / 461.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.7089, allocations: 4 kB / 461.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.7094, allocations: 48 kB / 461.8 MB, free: 11.14 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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.001551/0.7109, allocations: 1.185 MB / 463 MB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008439/0.7118, allocations: 0.5282 MB / 463.5 MB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7118, allocations: 4 kB / 463.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.7124, allocations: 464.9 kB / 463.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.7136, allocations: 155.3 kB / 464.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.7155, allocations: 0.6934 MB / 464.8 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.7161, allocations: 0.8303 MB / 465.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.701e-05/0.7163, allocations: 8.547 kB / 465.6 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.7163, allocations: 39.42 kB / 465.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7164, allocations: 0 / 465.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.7576, allocations: 8.297 MB / 474 MB, free: 14.68 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/0.758, allocations: 152.1 kB / 474.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.155, allocations: 4 kB / 474.1 MB, free: 14.45 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat does not exist to compare? outputFormat=mat