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.642/2.642, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.22e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.396, allocations: 54.86 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5604, allocations: 79.92 MB / 439.8 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5608, allocations: 60.72 kB / 439.9 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.5755, allocations: 2.295 MB / 442.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5756, allocations: 0 / 442.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.5756, allocations: 0 / 442.2 MB, free: 14.55 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.000473/0.5761, allocations: 360.2 kB / 442.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.653e-05/0.5762, allocations: 12.03 kB / 442.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.5763, allocations: 39.25 kB / 442.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.5763, allocations: 7.953 kB / 442.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.5765, allocations: 159.6 kB / 442.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5765, allocations: 0 / 442.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5765, allocations: 4 kB / 442.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.5767, allocations: 33.69 kB / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.5767, allocations: 0 / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5767, allocations: 0 / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5768, allocations: 3.953 kB / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.5768, allocations: 2.875 kB / 442.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.577, allocations: 145.7 kB / 442.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.5771, allocations: 18.52 kB / 442.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.5772, allocations: 16.95 kB / 442.9 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.5772, allocations: 0 / 442.9 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/0.5773, allocations: 61.09 kB / 443 MB, free: 13.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.136e-06/0.5773, allocations: 0 / 443 MB, free: 13.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002475/0.5776, allocations: 59.41 kB / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.5777, allocations: 77.11 kB / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.5778, allocations: 85 kB / 443.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.5778, allocations: 29.73 kB / 443.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.5779, allocations: 80.14 kB / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.578, allocations: 0 / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.578, allocations: 0 / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5782, allocations: 323.4 kB / 443.6 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.5782, allocations: 3.984 kB / 443.6 MB, free: 12.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.5782, allocations: 3.938 kB / 443.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.5783, allocations: 29.7 kB / 443.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5783, allocations: 4.062 kB / 443.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001337/0.5785, allocations: 55.41 kB / 443.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/0.5786, allocations: 34.73 kB / 443.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5786, allocations: 3.938 kB / 443.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5786, allocations: 0 / 443.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-06/0.5787, allocations: 3.984 kB / 443.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5787, allocations: 0 / 443.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.5787, allocations: 0 / 443.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.5788, allocations: 0 / 443.8 MB, free: 12.67 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.0001407/0.5789, allocations: 138.7 kB / 443.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.579, allocations: 0 / 443.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.579, allocations: 11.08 kB / 443.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.579, allocations: 0 / 443.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5791, allocations: 9.484 kB / 443.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.5791, allocations: 0 / 443.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.5793, allocations: 149.6 kB / 444.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5793, allocations: 0 / 444.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/0.5793, allocations: 0 / 444.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5793, allocations: 0 / 444.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5793, allocations: 4 kB / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.5794, allocations: 7.938 kB / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5794, allocations: 0 / 444.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.5796, allocations: 95.47 kB / 444.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.5797, allocations: 77.11 kB / 444.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.5797, allocations: 0 / 444.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.5798, allocations: 0 / 444.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.5798, allocations: 0 / 444.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5798, allocations: 9.281 kB / 444.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.5799, allocations: 75.28 kB / 444.3 MB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.5799, allocations: 0.9375 kB / 444.3 MB, free: 12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005574/0.5805, allocations: 43.97 kB / 444.4 MB, free: 11.96 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.001577/0.5821, allocations: 0.7965 MB / 445.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.5823, allocations: 60.8 kB / 445.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5823, allocations: 3.938 kB / 445.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.5824, allocations: 59.41 kB / 445.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.5826, allocations: 4.125 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.0004674/0.583, allocations: 98.62 kB / 445.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5834, allocations: 0.6731 MB / 446.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.227e-06/0.5835, allocations: 0 / 446.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.5835, allocations: 7.438 kB / 446.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5835, allocations: 0 / 446.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.6084, allocations: 1.54 MB / 447.6 MB, free: 8.715 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005352/0.609, allocations: 177.6 kB / 447.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.063, allocations: 0 / 447.8 MB, free: 8.492 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