Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Multiplexer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Multiplexer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.725e-05/4.753e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 50.4 MB / 342.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5409, allocations: 84.34 MB / 427 MB, free: 9.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5412, allocations: 70.08 kB / 427 MB, free: 9.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1974/0.7386, allocations: 55.85 MB / 482.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7387, allocations: 3.938 kB / 482.9 MB, free: 6.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.7387, allocations: 12 kB / 482.9 MB, free: 6.453 MB / 394.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.002055/0.7408, allocations: 0.9737 MB / 483.9 MB, free: 5.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.7409, allocations: 12.03 kB / 483.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002711/0.7411, allocations: 102.5 kB / 484 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.7414, allocations: 75.16 kB / 484.1 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.7426, allocations: 461 kB / 484.5 MB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.7427, allocations: 49.31 kB / 484.6 MB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.743, allocations: 59.98 kB / 484.6 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.7452, allocations: 0.8041 MB / 485.4 MB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.7453, allocations: 7.891 kB / 485.4 MB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.7455, allocations: 24 kB / 485.5 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.7455, allocations: 16 kB / 485.5 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.7473, allocations: 0.6039 MB / 486.1 MB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.7522, allocations: 1.69 MB / 487.8 MB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.7539, allocations: 0.5626 MB / 488.3 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.7548, allocations: 286.4 kB / 488.6 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.755, allocations: 12.56 kB / 488.6 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.7564, allocations: 0.5406 MB / 489.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=58): time 4.068e-06/0.7564, allocations: 0 / 489.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.002735/0.7592, allocations: 0.9948 MB / 490.2 MB, free: 14.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.7594, allocations: 204.4 kB / 490.4 MB, free: 14.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.7601, allocations: 367.1 kB / 490.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.7603, allocations: 49.7 kB / 490.8 MB, free: 14.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.7606, allocations: 236.9 kB / 491 MB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.7608, allocations: 126.5 kB / 491.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.761, allocations: 12 kB / 491.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7612, allocations: 358.8 kB / 491.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/0.7621, allocations: 289.5 kB / 491.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/0.763, allocations: 360.1 kB / 492.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.7641, allocations: 460.8 kB / 492.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7641, allocations: 0 / 492.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002875/0.767, allocations: 1.1 MB / 493.7 MB, free: 11.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.7672, allocations: 148.5 kB / 493.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7672, allocations: 0 / 493.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.7672, allocations: 4 kB / 493.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.7677, allocations: 107.8 kB / 493.9 MB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.7677, allocations: 12.2 kB / 493.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.7686, allocations: 87.58 kB / 494 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008228/0.7695, allocations: 0.5697 MB / 494.6 MB, free: 10.32 MB / 410.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.000558/0.77, allocations: 333.3 kB / 494.9 MB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.7703, allocations: 47.44 kB / 495 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.7705, allocations: 52.77 kB / 495 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7705, allocations: 8 kB / 495 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.7705, allocations: 0 / 495 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7706, allocations: 3.984 kB / 495 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.7721, allocations: 0.6618 MB / 495.7 MB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.7721, allocations: 8 kB / 495.7 MB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.7725, allocations: 91.83 kB / 495.8 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.7725, allocations: 3.984 kB / 495.8 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.7727, allocations: 91.95 kB / 495.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.7727, allocations: 0 / 495.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7727, allocations: 0 / 495.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.7754, allocations: 1.036 MB / 496.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007337/0.7762, allocations: 256.5 kB / 497.2 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.7765, allocations: 32 kB / 497.2 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.7772, allocations: 63.8 kB / 497.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/0.7777, allocations: 156.4 kB / 497.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000827/0.7786, allocations: 0.5619 MB / 498 MB, free: 6.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004577/0.779, allocations: 242.2 kB / 498.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7791, allocations: 0 / 498.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001043/0.7801, allocations: 148 kB / 498.4 MB, free: 6.406 MB / 410.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.003217/0.7833, allocations: 1.658 MB / 0.4883 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002383/0.7858, allocations: 1 MB / 0.4893 GB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7858, allocations: 0 / 0.4893 GB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.7871, allocations: 0.6631 MB / 0.4899 GB, free: 2.906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.7906, allocations: 484.7 kB / 0.4904 GB, free: 2.449 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.7941, allocations: 1.008 MB / 0.4914 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.7948, allocations: 0.9065 MB / 0.4922 GB, free: 480 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003985/0.7988, allocations: 1.5 MB / 0.4937 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002613/0.8015, allocations: 0.6154 MB / 0.4943 GB, free: 14.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/0.8015, allocations: 0 / 0.4943 GB, free: 14.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07467/0.8762, allocations: 21.97 MB / 0.5158 GB, free: 8.094 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.8766, allocations: 162 kB / 0.5159 GB, free: 7.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.741, allocations: 0 / 0.5159 GB, free: 7.867 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat does not exist to compare? outputFormat=mat