Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.753e-05/4.764e-05, allocations: 8 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/0.6534, allocations: 85.98 MB / 496.3 MB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.6537, allocations: 56.73 kB / 496.4 MB, free: 2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009679/0.6634, allocations: 2.309 MB / 498.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6634, allocations: 0 / 498.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.6634, allocations: 0 / 498.7 MB, free: 15.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003681/0.6638, allocations: 360.2 kB / 499 MB, free: 15.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6639, allocations: 8.031 kB / 499 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.6639, allocations: 38.5 kB / 499.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.664, allocations: 4 kB / 499.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.6641, allocations: 160.1 kB / 499.2 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.6641, allocations: 0 / 499.2 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.6642, allocations: 3.953 kB / 499.2 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.6643, allocations: 33.69 kB / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6643, allocations: 0 / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.6643, allocations: 0 / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6643, allocations: 0 / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.6643, allocations: 7.828 kB / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.6645, allocations: 141.7 kB / 499.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.6646, allocations: 26.52 kB / 499.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.6646, allocations: 4.859 kB / 499.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.6646, allocations: 0 / 499.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.6647, allocations: 68.27 kB / 499.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.6647, allocations: 0 / 499.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.6649, allocations: 59.41 kB / 499.6 MB, free: 14.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.665, allocations: 81.11 kB / 499.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.665, allocations: 88.91 kB / 499.7 MB, free: 14.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.6651, allocations: 29.64 kB / 499.8 MB, free: 14.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.6651, allocations: 84.14 kB / 499.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.6651, allocations: 0 / 499.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.6651, allocations: 0 / 499.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.6653, allocations: 314.8 kB / 0.4884 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.6653, allocations: 8.031 kB / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.6653, allocations: 3.938 kB / 0.4885 GB, free: 13.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.6654, allocations: 25.7 kB / 0.4885 GB, free: 13.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6654, allocations: 0 / 0.4885 GB, free: 13.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.648e-05/0.6655, allocations: 59.41 kB / 0.4885 GB, free: 13.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.6655, allocations: 29.7 kB / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6655, allocations: 3.984 kB / 0.4886 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6656, allocations: 7.953 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.6656, allocations: 0 / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6656, allocations: 4.094 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.6656, allocations: 4 kB / 0.4886 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.6656, allocations: 0 / 0.4886 GB, free: 13.82 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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.466e-05/0.6658, allocations: 134.7 kB / 0.4887 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.6658, allocations: 0 / 0.4887 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.6658, allocations: 7.078 kB / 0.4887 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.6658, allocations: 3.953 kB / 0.4887 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6658, allocations: 3.984 kB / 0.4887 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6658, allocations: 0 / 0.4887 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.666, allocations: 153.7 kB / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.666, allocations: 0 / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-06/0.666, allocations: 3.938 kB / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.666, allocations: 0 / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.666, allocations: 0 / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.666, allocations: 3.938 kB / 0.4889 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.666, allocations: 3.953 kB / 0.4889 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.6662, allocations: 90.83 kB / 0.489 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.6662, allocations: 81.14 kB / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.6663, allocations: 4 kB / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.6663, allocations: 0 / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.6663, allocations: 0 / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6663, allocations: 3.953 kB / 0.4891 GB, free: 13.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.6664, allocations: 75.28 kB / 0.4891 GB, free: 13.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6664, allocations: 0 / 0.4891 GB, free: 13.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000397/0.6668, allocations: 51.97 kB / 0.4892 GB, free: 13.1 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0011/0.6679, allocations: 0.8183 MB / 0.49 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.668, allocations: 63.39 kB / 0.49 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.668, allocations: 0 / 0.49 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.6681, allocations: 55.41 kB / 0.4901 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.6682, allocations: 4.125 kB / 0.4901 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.6686, allocations: 106.6 kB / 0.4902 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6689, allocations: 0.6731 MB / 0.4909 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.913e-06/0.6689, allocations: 0 / 0.4909 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.669, allocations: 7.438 kB / 0.4909 GB, free: 11.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.041e-06/0.669, allocations: 0 / 0.4909 GB, free: 11.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.6915, allocations: 1.53 MB / 0.4924 GB, free: 9.863 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/0.6919, allocations: 182.2 kB / 0.4925 GB, free: 9.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.165, allocations: 64 / 0.4925 GB, free: 9.641 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat