Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.648e-05, allocations: 4 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 54.86 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5548, allocations: 82.85 MB / 442.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5551, allocations: 64.75 kB / 442.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03653/0.5916, allocations: 6.87 MB / 449.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5917, allocations: 0 / 449.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.5917, allocations: 8 kB / 449.7 MB, free: 7.129 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002175/0.5939, allocations: 0.588 MB / 450.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.594, allocations: 8.031 kB / 450.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.5942, allocations: 74.47 kB / 450.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.5944, allocations: 47.48 kB / 450.4 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.5951, allocations: 272.3 kB / 450.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.5952, allocations: 24.78 kB / 450.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.5953, allocations: 32 kB / 450.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5965, allocations: 318.3 kB / 451 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.5965, allocations: 3.953 kB / 451 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.5966, allocations: 12 kB / 451 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.5966, allocations: 12 kB / 451 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.5976, allocations: 208.7 kB / 451.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.6014, allocations: 1.3 MB / 452.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.6022, allocations: 166.5 kB / 452.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.6024, allocations: 59.62 kB / 452.7 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.6025, allocations: 7.938 kB / 452.8 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.6025, allocations: 34.59 kB / 452.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 4.048e-06/0.6025, allocations: 0 / 452.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007436/0.6033, allocations: 141.2 kB / 452.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.6034, allocations: 136.5 kB / 453.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007133/0.6042, allocations: 286.7 kB / 453.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.6042, allocations: 25.7 kB / 453.4 MB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.6046, allocations: 286.7 kB / 453.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.174e-05/0.6047, allocations: 59.14 kB / 453.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.6047, allocations: 4 kB / 453.7 MB, free: 2.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6049, allocations: 326.8 kB / 454 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.6052, allocations: 52.62 kB / 454.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.6056, allocations: 147.9 kB / 454.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.606, allocations: 80.03 kB / 454.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.606, allocations: 0 / 454.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009401/0.6069, allocations: 219.9 kB / 454.5 MB, free: 1.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.607, allocations: 13.44 kB / 454.5 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.607, allocations: 4 kB / 454.5 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.6071, allocations: 11.92 kB / 454.5 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/0.608, allocations: 79.89 kB / 454.6 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.6081, allocations: 7.938 kB / 454.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.6088, allocations: 55.58 kB / 454.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.6089, allocations: 8 kB / 454.7 MB, free: 1.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.0001791/0.6091, allocations: 126.7 kB / 454.8 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.6093, allocations: 31.62 kB / 454.8 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.6095, allocations: 38.39 kB / 454.9 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.6095, allocations: 0 / 454.9 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6095, allocations: 4 kB / 454.9 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6096, allocations: 0 / 454.9 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.6113, allocations: 0.5837 MB / 455.5 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.6114, allocations: 4 kB / 455.5 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.612, allocations: 43.91 kB / 455.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.612e-05/0.6121, allocations: 8.156 kB / 455.5 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.6122, allocations: 8 kB / 455.5 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.6123, allocations: 0 / 455.5 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-05/0.6123, allocations: 11.89 kB / 455.5 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.6135, allocations: 410.1 kB / 455.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.6137, allocations: 108.8 kB / 456.1 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.6139, allocations: 8 kB / 456.1 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.6145, allocations: 23.97 kB / 456.1 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.6146, allocations: 19.88 kB / 456.1 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.6147, allocations: 8 kB / 456.1 MB, free: 120 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005325/0.6152, allocations: 222.2 kB / 456.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6152, allocations: 0 / 456.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009765/0.6162, allocations: 83.69 kB / 456.4 MB, free: 15.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.001406/0.6177, allocations: 1.369 MB / 457.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.6183, allocations: 132.5 kB / 457.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.6184, allocations: 7.938 kB / 457.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.6186, allocations: 55.92 kB / 458 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.6192, allocations: 17.22 kB / 458 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6213, allocations: 449.9 kB / 458.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.6219, allocations: 0.7794 MB / 459.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.6223, allocations: 99.41 kB / 459.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6223, allocations: 0 / 459.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.295/2.917, allocations: 4.499 MB / 463.8 MB, free: 8.289 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat