Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.47e-05, allocations: 4 kB / 347 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4163, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5739, allocations: 85.98 MB / 494.9 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5742, allocations: 59.98 kB / 495 MB, free: 4.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00948/0.5837, allocations: 2.303 MB / 497.3 MB, free: 2.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5838, allocations: 0 / 497.3 MB, free: 2.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.5838, allocations: 4 kB / 497.3 MB, free: 2.281 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.0003451/0.5842, allocations: 356.2 kB / 497.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5842, allocations: 12.03 kB / 497.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.5843, allocations: 30.56 kB / 497.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.5843, allocations: 0 / 497.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5844, allocations: 159.1 kB / 497.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5844, allocations: 0 / 497.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5845, allocations: 7.953 kB / 497.8 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.08e-05/0.5846, allocations: 37.62 kB / 497.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5846, allocations: 4 kB / 497.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5846, allocations: 0 / 497.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.5846, allocations: 0 / 497.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.5846, allocations: 4 kB / 497.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.5848, allocations: 141.7 kB / 498 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.5849, allocations: 18.61 kB / 498 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.5849, allocations: 4.859 kB / 498 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.5849, allocations: 0 / 498 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/0.585, allocations: 72.78 kB / 498.1 MB, free: 1.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.724e-06/0.585, allocations: 0 / 498.1 MB, free: 1.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001763/0.5852, allocations: 71.39 kB / 498.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.5852, allocations: 77.11 kB / 498.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.349e-05/0.5853, allocations: 88.91 kB / 498.3 MB, free: 1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5853, allocations: 25.7 kB / 498.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.5854, allocations: 150.6 kB / 498.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.5854, allocations: 4 kB / 498.5 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.5854, allocations: 4.031 kB / 498.5 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5855, allocations: 314.8 kB / 498.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.5856, allocations: 0 / 498.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.5856, allocations: 0 / 498.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.5856, allocations: 29.7 kB / 498.8 MB, free: 472 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5856, allocations: 0 / 498.8 MB, free: 472 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.657e-05/0.5857, allocations: 71.33 kB / 498.9 MB, free: 388 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.5858, allocations: 29.7 kB / 498.9 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.5858, allocations: 4.094 kB / 498.9 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5858, allocations: 7.938 kB / 498.9 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.572e-06/0.5859, allocations: 3.938 kB / 498.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5859, allocations: 0 / 498.9 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.5859, allocations: 4 kB / 499 MB, free: 332 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5859, allocations: 0 / 499 MB, free: 332 kB / 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 8.865e-05/0.586, allocations: 126.7 kB / 499.1 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.586, allocations: 4 kB / 499.1 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.5861, allocations: 3.125 kB / 499.1 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5861, allocations: 7.953 kB / 499.1 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5861, allocations: 0 / 499.1 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5861, allocations: 0 / 499.1 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.5862, allocations: 145.7 kB / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5862, allocations: 0 / 499.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-06/0.5863, allocations: 4 kB / 499.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5863, allocations: 0 / 499.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.5863, allocations: 4 kB / 499.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5863, allocations: 0 / 499.2 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5863, allocations: 3.953 kB / 499.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.5865, allocations: 94.77 kB / 499.3 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.5865, allocations: 77.11 kB / 499.4 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.5866, allocations: 4 kB / 499.4 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.5866, allocations: 4 kB / 499.4 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.5866, allocations: 4 kB / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.5866, allocations: 3.953 kB / 499.4 MB, free: 15.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.52e-05/0.5867, allocations: 75.28 kB / 499.5 MB, free: 15.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5867, allocations: 0 / 499.5 MB, free: 15.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.5871, allocations: 44.02 kB / 499.5 MB, free: 15.62 MB / 426.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.001059/0.5881, allocations: 0.8209 MB / 0.4886 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.943e-05/0.5883, allocations: 59.39 kB / 0.4887 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5883, allocations: 4.062 kB / 0.4887 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.5883, allocations: 55.41 kB / 0.4888 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.5884, allocations: 3.938 kB / 0.4888 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.5888, allocations: 126.8 kB / 0.4889 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.5891, allocations: 0.677 MB / 0.4895 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.5891, allocations: 7.438 kB / 0.4895 GB, free: 13.82 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5891, allocations: 0 / 0.4895 GB, free: 13.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.522/3.111, allocations: 1.349 MB / 0.4909 GB, free: 12.47 MB / 426.7 MB