Running command: "" <> buildModelFMU(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_MuxDemux",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.954e-05, allocations: 5.828 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 61.89 MB / 410.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/0.6351, allocations: 85.88 MB / 496.2 MB, free: 2.121 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.6354, allocations: 63.97 kB / 496.3 MB, free: 2.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00544/0.6409, allocations: 1.493 MB / 497.8 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6409, allocations: 0 / 497.8 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.6409, allocations: 6.844 kB / 497.8 MB, free: 0.5664 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.0005508/0.6415, allocations: 398.5 kB / 498.2 MB, free: 132 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6416, allocations: 12.03 kB / 498.2 MB, free: 120 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.6417, allocations: 74.81 kB / 498.3 MB, free: 36 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.6418, allocations: 19.72 kB / 498.3 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.6421, allocations: 223 kB / 498.5 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.6422, allocations: 12.44 kB / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.6422, allocations: 24 kB / 498.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.6427, allocations: 190.4 kB / 498.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6428, allocations: 0 / 498.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.6428, allocations: 12 kB / 498.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.6428, allocations: 4 kB / 498.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.6432, allocations: 112.8 kB / 498.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.6442, allocations: 0.5178 MB / 499.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.6444, allocations: 42.5 kB / 499.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.6444, allocations: 24.98 kB / 499.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.6445, allocations: 0 / 499.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6445, allocations: 34.56 kB / 499.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.6445, allocations: 4 kB / 499.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001842/0.6447, allocations: 45.61 kB / 499.5 MB, free: 14.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.6448, allocations: 59.39 kB / 499.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.6449, allocations: 101 kB / 499.7 MB, free: 14.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6449, allocations: 33.64 kB / 499.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.645, allocations: 144 kB / 499.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.6451, allocations: 19.72 kB / 499.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.6451, allocations: 0 / 499.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6453, allocations: 322.8 kB / 0.4885 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.6453, allocations: 8 kB / 0.4885 GB, free: 13.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.6453, allocations: 8 kB / 0.4885 GB, free: 13.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.6454, allocations: 8.172 kB / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6454, allocations: 0 / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.6455, allocations: 57.61 kB / 0.4886 GB, free: 13.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6455, allocations: 8 kB / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6456, allocations: 3.938 kB / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6456, allocations: 0 / 0.4886 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.6457, allocations: 11.98 kB / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6458, allocations: 4 kB / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.6458, allocations: 4 kB / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.6458, allocations: 0 / 0.4886 GB, free: 13.84 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 8.971e-05/0.6459, allocations: 116.9 kB / 0.4887 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.646, allocations: 3.906 kB / 0.4887 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.646, allocations: 12.08 kB / 0.4887 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.646, allocations: 3.984 kB / 0.4887 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6461, allocations: 0 / 0.4887 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6461, allocations: 0 / 0.4887 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.6466, allocations: 362.5 kB / 0.4891 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6467, allocations: 0 / 0.4891 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.6468, allocations: 11.94 kB / 0.4891 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6468, allocations: 0 / 0.4891 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.6468, allocations: 0 / 0.4891 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6468, allocations: 0 / 0.4891 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6468, allocations: 4 kB / 0.4891 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.647, allocations: 151.5 kB / 0.4892 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.6471, allocations: 84.95 kB / 0.4893 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.6471, allocations: 7.984 kB / 0.4893 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.6472, allocations: 0 / 0.4893 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.6473, allocations: 8.188 kB / 0.4893 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.6473, allocations: 4 kB / 0.4893 GB, free: 12.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.6474, allocations: 87.27 kB / 0.4894 GB, free: 12.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6474, allocations: 0 / 0.4894 GB, free: 12.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.6477, allocations: 35.75 kB / 0.4894 GB, free: 12.86 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.0005807/0.6483, allocations: 0.6899 MB / 0.4901 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.6484, allocations: 24.06 kB / 0.4901 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6485, allocations: 0 / 0.4901 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.6485, allocations: 11.94 kB / 0.4901 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6488, allocations: 20.48 kB / 0.4902 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.6496, allocations: 251.8 kB / 0.4904 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.6501, allocations: 0.7316 MB / 0.4911 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.6501, allocations: 11.77 kB / 0.4911 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.6502, allocations: 43.42 kB / 0.4912 GB, free: 11 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6503, allocations: 0 / 0.4912 GB, free: 11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6701, allocations: 1.693 MB / 0.4928 GB, free: 9.383 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/0.6705, allocations: 141 kB / 0.493 GB, free: 9.148 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.906, allocations: 0 / 0.493 GB, free: 9.148 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat does not exist to compare? outputFormat=mat