Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.539/2.539, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.35e-05/4.359e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4467, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.6166, allocations: 84.88 MB / 467.2 MB, free: 7.543 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6169, allocations: 63.97 kB / 467.2 MB, free: 7.48 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.009681/0.6266, allocations: 2.283 MB / 469.5 MB, free: 5.191 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6266, allocations: 7.938 kB / 469.5 MB, free: 5.184 MB / 394.8 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.6266, allocations: 0 / 469.5 MB, free: 5.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003672/0.627, allocations: 364.2 kB / 469.9 MB, free: 4.777 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6271, allocations: 12.03 kB / 469.9 MB, free: 4.766 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.6271, allocations: 30.56 kB / 469.9 MB, free: 4.727 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.6272, allocations: 0 / 469.9 MB, free: 4.727 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.6273, allocations: 167 kB / 470.1 MB, free: 4.523 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.6273, allocations: 0 / 470.1 MB, free: 4.523 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.6273, allocations: 7.984 kB / 470.1 MB, free: 4.516 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.6274, allocations: 25.7 kB / 470.1 MB, free: 4.484 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6275, allocations: 3.938 kB / 470.1 MB, free: 4.48 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.6275, allocations: 4 kB / 470.1 MB, free: 4.477 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6275, allocations: 0 / 470.1 MB, free: 4.477 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.6275, allocations: 4 kB / 470.1 MB, free: 4.473 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.6277, allocations: 149.6 kB / 470.3 MB, free: 4.277 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.6277, allocations: 18.61 kB / 470.3 MB, free: 4.25 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.6278, allocations: 8.844 kB / 470.3 MB, free: 4.238 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.6278, allocations: 0 / 470.3 MB, free: 4.238 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.6279, allocations: 60.27 kB / 470.4 MB, free: 4.164 MB / 394.8 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.6279, allocations: 0 / 470.4 MB, free: 4.164 MB / 394.8 MB Notification: Performance of matching and sorting (n=1): time 0.000173/0.628, allocations: 67.41 kB / 470.4 MB, free: 4.086 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.6281, allocations: 77.11 kB / 470.5 MB, free: 3.992 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.6282, allocations: 85 kB / 470.6 MB, free: 3.902 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.6282, allocations: 29.64 kB / 470.6 MB, free: 3.867 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.6282, allocations: 80.14 kB / 470.7 MB, free: 3.785 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6283, allocations: 7.984 kB / 470.7 MB, free: 3.777 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.6283, allocations: 4.031 kB / 470.7 MB, free: 3.773 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6284, allocations: 314.8 kB / 471 MB, free: 3.457 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.6285, allocations: 0 / 471 MB, free: 3.457 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-06/0.6285, allocations: 0 / 471 MB, free: 3.457 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.6285, allocations: 29.7 kB / 471 MB, free: 3.422 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6285, allocations: 3.953 kB / 471 MB, free: 3.418 MB / 394.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.376e-05/0.6286, allocations: 63.41 kB / 471.1 MB, free: 3.344 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.6287, allocations: 33.69 kB / 471.1 MB, free: 3.305 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6287, allocations: 96 / 471.1 MB, free: 3.305 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6287, allocations: 4 kB / 471.1 MB, free: 3.301 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-06/0.6288, allocations: 11.88 kB / 471.2 MB, free: 3.289 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6288, allocations: 0 / 471.2 MB, free: 3.289 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.6288, allocations: 4 kB / 471.2 MB, free: 3.285 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.6288, allocations: 0 / 471.2 MB, free: 3.285 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: 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.461e-05/0.6289, allocations: 126.7 kB / 471.3 MB, free: 3.148 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.629, allocations: 7.953 kB / 471.3 MB, free: 3.141 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.629, allocations: 3.125 kB / 471.3 MB, free: 3.133 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.629, allocations: 0 / 471.3 MB, free: 3.133 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.629, allocations: 4 kB / 471.3 MB, free: 3.129 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.629, allocations: 0 / 471.3 MB, free: 3.129 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.6291, allocations: 145.7 kB / 471.4 MB, free: 2.938 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6291, allocations: 0 / 471.4 MB, free: 2.938 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-06/0.6292, allocations: 7.953 kB / 471.4 MB, free: 2.93 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6292, allocations: 0 / 471.4 MB, free: 2.93 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.6292, allocations: 0 / 471.4 MB, free: 2.93 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6292, allocations: 0 / 471.4 MB, free: 2.93 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6292, allocations: 0 / 471.4 MB, free: 2.93 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.6294, allocations: 94.83 kB / 471.5 MB, free: 2.812 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.6295, allocations: 77.11 kB / 471.6 MB, free: 2.719 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.6295, allocations: 3.953 kB / 471.6 MB, free: 2.715 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.6295, allocations: 0 / 471.6 MB, free: 2.715 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.6295, allocations: 7.938 kB / 471.6 MB, free: 2.707 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.6296, allocations: 0 / 471.6 MB, free: 2.707 MB / 394.8 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.6296, allocations: 83.2 kB / 471.7 MB, free: 2.625 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6296, allocations: 0 / 471.7 MB, free: 2.625 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003671/0.63, allocations: 36 kB / 471.7 MB, free: 2.59 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: 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.001117/0.6311, allocations: 0.8066 MB / 472.5 MB, free: 1.801 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.6313, allocations: 67.33 kB / 472.6 MB, free: 1.723 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6313, allocations: 0 / 472.6 MB, free: 1.723 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.6313, allocations: 51.41 kB / 472.7 MB, free: 1.66 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.6315, allocations: 7.953 kB / 472.7 MB, free: 1.652 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.6318, allocations: 102.7 kB / 472.8 MB, free: 1.516 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.6321, allocations: 0.6694 MB / 473.4 MB, free: 0.8203 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 7.243e-06/0.6321, allocations: 4 kB / 473.4 MB, free: 0.8164 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.6322, allocations: 7.438 kB / 473.5 MB, free: 0.8086 MB / 394.8 MB Notification: Performance of SimCode: time 7.92e-07/0.6322, allocations: 4 kB / 473.5 MB, free: 0.8047 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.6566, allocations: 1.533 MB / 475 MB, free: 15.32 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.6569, allocations: 181.7 kB / 475.2 MB, free: 15.09 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.148, allocations: 3.938 kB / 475.2 MB, free: 15.08 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat