Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 235 MB / 247.2 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-05/6.589e-05, allocations: 11.98 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4742, allocations: 54.85 MB / 359.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.6261, allocations: 79.92 MB / 439.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.6264, allocations: 63.97 kB / 439.8 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.6368, allocations: 2.291 MB / 442.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6369, allocations: 0 / 442.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.6369, allocations: 0 / 442.1 MB, free: 14.57 MB / 378.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.0003632/0.6373, allocations: 368.2 kB / 442.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6374, allocations: 8.031 kB / 442.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.6374, allocations: 33.84 kB / 442.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.6374, allocations: 7.953 kB / 442.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.6376, allocations: 163 kB / 442.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.6376, allocations: 1.125 kB / 442.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.6376, allocations: 0 / 442.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.886e-05/0.6377, allocations: 33.69 kB / 442.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.6377, allocations: 0 / 442.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.6377, allocations: 0 / 442.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.6378, allocations: 7.953 kB / 442.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.6378, allocations: 0 / 442.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.6379, allocations: 149.7 kB / 442.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.638, allocations: 20.02 kB / 442.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.638, allocations: 4.859 kB / 442.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.6381, allocations: 4.094 kB / 442.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.6381, allocations: 60.25 kB / 443 MB, free: 13.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.6381, allocations: 4 kB / 443 MB, free: 13.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001721/0.6383, allocations: 63.41 kB / 443 MB, free: 13.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.6384, allocations: 77.11 kB / 443.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.6384, allocations: 85 kB / 443.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.6385, allocations: 25.7 kB / 443.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.6385, allocations: 80.14 kB / 443.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.6385, allocations: 0 / 443.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.6386, allocations: 3.938 kB / 443.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6387, allocations: 322.8 kB / 443.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.6387, allocations: 0 / 443.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.6388, allocations: 3.984 kB / 443.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.6388, allocations: 25.7 kB / 443.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6388, allocations: 4.75 kB / 443.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.26e-05/0.6389, allocations: 59.41 kB / 443.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.639, allocations: 33.7 kB / 443.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.639, allocations: 3.938 kB / 443.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.639, allocations: 5.781 kB / 443.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.639, allocations: 0 / 443.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.639, allocations: 3.984 kB / 443.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.6391, allocations: 0 / 443.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.6391, allocations: 1.125 kB / 443.7 MB, free: 12.68 MB / 378.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.518e-05/0.6392, allocations: 134.6 kB / 443.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.6392, allocations: 0 / 443.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.6393, allocations: 7.078 kB / 443.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6393, allocations: 3.938 kB / 443.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6393, allocations: 4 kB / 443.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6393, allocations: 4 kB / 443.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.6394, allocations: 149.6 kB / 444 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6394, allocations: 0 / 444 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.6395, allocations: 0 / 444 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6395, allocations: 0 / 444 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6395, allocations: 9.062 kB / 444.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6395, allocations: 1.406 kB / 444.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6395, allocations: 0 / 444.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.6397, allocations: 94.78 kB / 444.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.6397, allocations: 85.09 kB / 444.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6397, allocations: 0 / 444.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.6398, allocations: 0 / 444.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.6398, allocations: 0 / 444.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.6398, allocations: 7 kB / 444.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.6398, allocations: 75.28 kB / 444.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6399, allocations: 0 / 444.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.6402, allocations: 43.91 kB / 444.4 MB, free: 11.98 MB / 378.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.001099/0.6413, allocations: 0.8065 MB / 445.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.6415, allocations: 63.28 kB / 445.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6415, allocations: 3.938 kB / 445.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.6416, allocations: 59.39 kB / 445.3 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.6417, allocations: 4 kB / 445.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.642, allocations: 90.7 kB / 445.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.6423, allocations: 0.6731 MB / 446 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.893e-06/0.6423, allocations: 4.125 kB / 446.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.6424, allocations: 7.438 kB / 446.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6424, allocations: 0 / 446.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.6634, allocations: 1.55 MB / 447.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.6638, allocations: 179.6 kB / 447.8 MB, free: 8.488 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.16, allocations: 0 / 447.8 MB, free: 8.488 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat