Running command: "" <> buildModelFMU(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_MuxDemux",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.075e-05, allocations: 6.656 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4141, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5792, allocations: 84.79 MB / 467.1 MB, free: 7.609 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5795, allocations: 59.97 kB / 467.1 MB, free: 7.551 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.005428/0.585, allocations: 1.487 MB / 468.6 MB, free: 6.059 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.174e-06/0.585, allocations: 0 / 468.6 MB, free: 6.059 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.5851, allocations: 12.16 kB / 468.6 MB, free: 6.047 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005701/0.5856, allocations: 405.2 kB / 469 MB, free: 5.605 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.5857, allocations: 12.03 kB / 469.1 MB, free: 5.594 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.5858, allocations: 62.88 kB / 469.1 MB, free: 5.523 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.5859, allocations: 27.77 kB / 469.1 MB, free: 5.496 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.5863, allocations: 222.8 kB / 469.4 MB, free: 5.238 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.5863, allocations: 20.42 kB / 469.4 MB, free: 5.219 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.5864, allocations: 16 kB / 469.4 MB, free: 5.203 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.5869, allocations: 198.4 kB / 469.6 MB, free: 5 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5869, allocations: 3.938 kB / 469.6 MB, free: 4.996 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.5869, allocations: 4 kB / 469.6 MB, free: 4.992 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.5869, allocations: 8 kB / 469.6 MB, free: 4.984 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.5873, allocations: 112.8 kB / 469.7 MB, free: 4.875 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.5883, allocations: 0.5179 MB / 470.2 MB, free: 4.305 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5885, allocations: 42.56 kB / 470.3 MB, free: 4.254 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.5885, allocations: 24.98 kB / 470.3 MB, free: 4.227 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.5886, allocations: 0 / 470.3 MB, free: 4.227 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5886, allocations: 34.5 kB / 470.3 MB, free: 4.184 MB / 394.8 MB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.5886, allocations: 0 / 470.3 MB, free: 4.184 MB / 394.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001986/0.5888, allocations: 61.53 kB / 470.4 MB, free: 4.117 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5889, allocations: 55.36 kB / 470.4 MB, free: 4.051 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.589, allocations: 101 kB / 470.5 MB, free: 3.945 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.589, allocations: 25.7 kB / 470.6 MB, free: 3.914 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.5892, allocations: 144 kB / 470.7 MB, free: 3.766 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.5892, allocations: 23.66 kB / 470.7 MB, free: 3.742 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.5892, allocations: 0 / 470.7 MB, free: 3.742 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5894, allocations: 310.8 kB / 471 MB, free: 3.43 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.5894, allocations: 8 kB / 471 MB, free: 3.422 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.5894, allocations: 8 kB / 471.1 MB, free: 3.414 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.5895, allocations: 11.98 kB / 471.1 MB, free: 3.402 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5895, allocations: 0 / 471.1 MB, free: 3.402 MB / 394.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000106/0.5896, allocations: 45.7 kB / 471.1 MB, free: 3.352 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5896, allocations: 8 kB / 471.1 MB, free: 3.344 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5897, allocations: 0 / 471.1 MB, free: 3.344 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5897, allocations: 7.938 kB / 471.1 MB, free: 3.336 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5898, allocations: 11.98 kB / 471.1 MB, free: 3.324 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5898, allocations: 0 / 471.1 MB, free: 3.324 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.5899, allocations: 11.95 kB / 471.1 MB, free: 3.312 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.5899, allocations: 0 / 471.1 MB, free: 3.312 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 8.105e-05/0.59, allocations: 101 kB / 471.2 MB, free: 3.207 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.5901, allocations: 11.91 kB / 471.3 MB, free: 3.195 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.5901, allocations: 12.08 kB / 471.3 MB, free: 3.184 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5901, allocations: 0 / 471.3 MB, free: 3.184 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5901, allocations: 4.25 kB / 471.3 MB, free: 3.18 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5902, allocations: 3.938 kB / 471.3 MB, free: 3.176 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.5907, allocations: 362.5 kB / 471.6 MB, free: 2.766 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5907, allocations: 0 / 471.6 MB, free: 2.766 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.5908, allocations: 12 kB / 471.6 MB, free: 2.754 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.5908, allocations: 4 kB / 471.6 MB, free: 2.75 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5908, allocations: 0 / 471.6 MB, free: 2.75 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5908, allocations: 3.984 kB / 471.7 MB, free: 2.746 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5908, allocations: 3.953 kB / 471.7 MB, free: 2.742 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.591, allocations: 147.5 kB / 471.8 MB, free: 2.582 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.5911, allocations: 85.03 kB / 471.9 MB, free: 2.48 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5911, allocations: 4 kB / 471.9 MB, free: 2.477 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.5912, allocations: 4 kB / 471.9 MB, free: 2.473 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.5912, allocations: 11.94 kB / 471.9 MB, free: 2.461 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5912, allocations: 3.953 kB / 471.9 MB, free: 2.457 MB / 394.8 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.5913, allocations: 95.56 kB / 472 MB, free: 2.363 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5913, allocations: 3.938 kB / 472 MB, free: 2.359 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003028/0.5916, allocations: 23.75 kB / 472 MB, free: 2.336 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0006063/0.5923, allocations: 0.693 MB / 472.7 MB, free: 1.617 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.5924, allocations: 24 kB / 472.7 MB, free: 1.594 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5924, allocations: 0 / 472.7 MB, free: 1.594 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.5925, allocations: 12 kB / 472.8 MB, free: 1.582 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.5927, allocations: 8 kB / 472.8 MB, free: 1.574 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.5936, allocations: 257.3 kB / 473 MB, free: 1.289 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.594, allocations: 0.7432 MB / 473.8 MB, free: 0.5234 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 4.615e-05/0.5941, allocations: 3.984 kB / 473.8 MB, free: 0.5195 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.5942, allocations: 51.36 kB / 473.8 MB, free: 480 kB / 394.8 MB Notification: Performance of SimCode: time 8.42e-07/0.5942, allocations: 0 / 473.8 MB, free: 480 kB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.6146, allocations: 1.693 MB / 475.5 MB, free: 14.84 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003823/0.6151, allocations: 134 kB / 475.6 MB, free: 14.62 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.9, allocations: 0 / 475.6 MB, free: 14.62 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat does not exist to compare? outputFormat=mat