Running command: "" <> buildModelFMU(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_MuxDemux",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.546e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4875/0.6165, allocations: 85.88 MB / 496.2 MB, free: 2.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.6167, allocations: 59.97 kB / 496.3 MB, free: 2.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005275/0.622, allocations: 1.499 MB / 497.8 MB, free: 0.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.6221, allocations: 4 kB / 497.8 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.6221, allocations: 2.844 kB / 497.8 MB, free: 0.5391 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005014/0.6226, allocations: 402.5 kB / 498.2 MB, free: 100 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.6227, allocations: 8.031 kB / 498.2 MB, free: 92 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.6228, allocations: 70.83 kB / 498.3 MB, free: 12 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.6229, allocations: 23.89 kB / 498.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.6232, allocations: 218.8 kB / 498.5 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.6232, allocations: 24.44 kB / 498.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.6233, allocations: 20 kB / 498.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.6238, allocations: 186.4 kB / 498.7 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6238, allocations: 0 / 498.7 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.6238, allocations: 15.98 kB / 498.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.6239, allocations: 4 kB / 498.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.6242, allocations: 108.8 kB / 498.9 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.6252, allocations: 0.5295 MB / 499.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.6253, allocations: 38.45 kB / 499.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.6254, allocations: 24.98 kB / 499.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.6254, allocations: 0 / 499.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.6254, allocations: 38.56 kB / 499.5 MB, free: 14.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.6254, allocations: 0 / 499.5 MB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001772/0.6256, allocations: 53.59 kB / 499.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6257, allocations: 51.41 kB / 499.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.6258, allocations: 97 kB / 499.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.6258, allocations: 25.7 kB / 499.7 MB, free: 14.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.6259, allocations: 148 kB / 499.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.6259, allocations: 19.69 kB / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.6259, allocations: 0 / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6261, allocations: 326.8 kB / 0.4885 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.6261, allocations: 4 kB / 0.4885 GB, free: 13.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.6261, allocations: 8 kB / 0.4885 GB, free: 13.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.6262, allocations: 4 kB / 0.4885 GB, free: 13.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6262, allocations: 0 / 0.4885 GB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001094/0.6263, allocations: 57.61 kB / 0.4885 GB, free: 13.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6264, allocations: 11.98 kB / 0.4885 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6264, allocations: 3.938 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6264, allocations: 0 / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6265, allocations: 8 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6265, allocations: 0 / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.6266, allocations: 4 kB / 0.4886 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.6266, allocations: 0 / 0.4886 GB, free: 13.81 MB / 410.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: 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 7.217e-05/0.6267, allocations: 112.9 kB / 0.4887 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.6267, allocations: 11.89 kB / 0.4887 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.6268, allocations: 12.09 kB / 0.4887 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6268, allocations: 0 / 0.4887 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6268, allocations: 0 / 0.4887 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6268, allocations: 256 / 0.4887 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.6273, allocations: 358.5 kB / 0.489 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6273, allocations: 0 / 0.489 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.6274, allocations: 19.92 kB / 0.4891 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.6274, allocations: 4 kB / 0.4891 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.6274, allocations: 0 / 0.4891 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6274, allocations: 4 kB / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6275, allocations: 0 / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.6276, allocations: 147.5 kB / 0.4892 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.6277, allocations: 88.95 kB / 0.4893 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.6277, allocations: 0 / 0.4893 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.6278, allocations: 4 kB / 0.4893 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.6279, allocations: 15.91 kB / 0.4893 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.6279, allocations: 0 / 0.4893 GB, free: 12.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.108e-05/0.6279, allocations: 91.27 kB / 0.4894 GB, free: 12.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6279, allocations: 0 / 0.4894 GB, free: 12.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.6283, allocations: 31.75 kB / 0.4894 GB, free: 12.83 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: 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.0004958/0.6288, allocations: 0.6938 MB / 0.4901 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.6289, allocations: 24.06 kB / 0.4901 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6289, allocations: 0 / 0.4901 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.629, allocations: 11.94 kB / 0.4901 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.6292, allocations: 20.47 kB / 0.4902 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.63, allocations: 247.9 kB / 0.4904 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.6304, allocations: 0.7399 MB / 0.4911 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.6305, allocations: 7.781 kB / 0.4911 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.6306, allocations: 47.42 kB / 0.4912 GB, free: 10.96 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6306, allocations: 0 / 0.4912 GB, free: 10.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.6545, allocations: 1.699 MB / 0.4928 GB, free: 9.336 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.6549, allocations: 132.3 kB / 0.493 GB, free: 9.113 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.85, allocations: 0 / 0.493 GB, free: 9.113 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux_res.mat does not exist to compare? outputFormat=mat