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.368/2.368, allocations: 235.1 MB / 242.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.893e-05, allocations: 0 / 299.5 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3777, allocations: 54.86 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.5647, allocations: 79.26 MB / 433.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.565, allocations: 67.95 kB / 433.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009408/0.5744, allocations: 2.28 MB / 435.9 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.569e-06/0.5745, allocations: 0 / 435.9 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.5745, allocations: 7.875 kB / 435.9 MB, free: 0.7031 MB / 362.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.0003811/0.5749, allocations: 360.3 kB / 436.3 MB, free: 308 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.575, allocations: 8.031 kB / 436.3 MB, free: 300 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.575, allocations: 3.953 kB / 436.3 MB, free: 296 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5752, allocations: 163.1 kB / 436.5 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5752, allocations: 0 / 436.5 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.5752, allocations: 7.938 kB / 436.5 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.332e-05/0.5753, allocations: 0 / 436.5 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.009e-05/0.5753, allocations: 29.7 kB / 436.5 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.5754, allocations: 0 / 436.5 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.5754, allocations: 4 kB / 436.5 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5754, allocations: 7.953 kB / 436.5 MB, free: 36 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.5756, allocations: 126.2 kB / 436.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.5756, allocations: 14.58 kB / 436.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.5756, allocations: 8.953 kB / 436.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.5757, allocations: 0 / 436.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.5757, allocations: 60.2 kB / 436.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.5757, allocations: 4 kB / 436.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002063/0.5759, allocations: 41.69 kB / 436.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.576, allocations: 77.11 kB / 436.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.5761, allocations: 88.91 kB / 436.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5761, allocations: 25.7 kB / 437 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.5761, allocations: 80.14 kB / 437 MB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.5762, allocations: 0 / 437 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.5762, allocations: 0 / 437 MB, free: 15.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5763, allocations: 318.8 kB / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.5764, allocations: 4 kB / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.5764, allocations: 0 / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.5764, allocations: 4 kB / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5764, allocations: 0 / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.5765, allocations: 41.62 kB / 437.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.5766, allocations: 35.42 kB / 437.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5766, allocations: 0 / 437.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5766, allocations: 3.938 kB / 437.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.5767, allocations: 96 / 437.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5767, allocations: 4 kB / 437.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.5767, allocations: 3.984 kB / 437.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5767, allocations: 4 kB / 437.4 MB, free: 14.98 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 0.0001033/0.5768, allocations: 130.6 kB / 437.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000104/0.577, allocations: 45.67 kB / 437.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.577, allocations: 0 / 437.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.577, allocations: 7.703 kB / 437.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.577, allocations: 3.938 kB / 437.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.577, allocations: 4.031 kB / 437.6 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.577, allocations: 0 / 437.6 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.5771, allocations: 126.2 kB / 437.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5772, allocations: 4 kB / 437.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.5772, allocations: 0 / 437.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5772, allocations: 3.938 kB / 437.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5772, allocations: 7.984 kB / 437.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5772, allocations: 0 / 437.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5772, allocations: 0 / 437.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.5774, allocations: 73.08 kB / 437.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.5774, allocations: 81.09 kB / 437.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5775, allocations: 0 / 437.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.5775, allocations: 0 / 437.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.5775, allocations: 4 kB / 437.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.5775, allocations: 0 / 437.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.5776, allocations: 79.28 kB / 438 MB, free: 14.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5776, allocations: 0 / 438 MB, free: 14.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.578, allocations: 35.98 kB / 438 MB, free: 14.3 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.001081/0.5791, allocations: 0.7835 MB / 438.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.5792, allocations: 55.41 kB / 438.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5792, allocations: 3.938 kB / 438.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.5793, allocations: 59.39 kB / 438.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.5794, allocations: 4.125 kB / 438.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.5798, allocations: 95.23 kB / 439 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.5801, allocations: 0.6729 MB / 439.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.592e-06/0.5802, allocations: 0 / 439.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.5802, allocations: 7.438 kB / 439.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5802, allocations: 4 kB / 439.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.6224, allocations: 1.262 MB / 441 MB, free: 11.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003552/0.6228, allocations: 152.8 kB / 441.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.961, allocations: 0 / 441.1 MB, free: 11.1 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