Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.546e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4121, allocations: 54.86 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.5637, allocations: 82.42 MB / 442.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.564, allocations: 69.38 kB / 442.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.5757, allocations: 2.746 MB / 445.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5758, allocations: 4 kB / 445.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.5758, allocations: 4 kB / 445.1 MB, free: 11.78 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000738/0.5765, allocations: 422.3 kB / 445.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5766, allocations: 10.75 kB / 445.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.5767, allocations: 46.55 kB / 445.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.5767, allocations: 19.86 kB / 445.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.577, allocations: 207.1 kB / 445.8 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.577, allocations: 8.281 kB / 445.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.5771, allocations: 12 kB / 445.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.5774, allocations: 127.5 kB / 445.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5775, allocations: 0 / 445.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.5775, allocations: 4 kB / 445.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5775, allocations: 7.953 kB / 445.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.5778, allocations: 76.55 kB / 446 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.5789, allocations: 0.5594 MB / 446.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5792, allocations: 54.61 kB / 446.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.5793, allocations: 28.92 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.5793, allocations: 4.031 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5794, allocations: 34.56 kB / 446.7 MB, free: 9.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.555e-06/0.5794, allocations: 0 / 446.7 MB, free: 9.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002281/0.5796, allocations: 65.55 kB / 446.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.5797, allocations: 51.41 kB / 446.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.5799, allocations: 144.4 kB / 447 MB, free: 9.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5799, allocations: 33.64 kB / 447 MB, free: 9.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.58, allocations: 198 kB / 447.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.58, allocations: 15.81 kB / 447.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.5801, allocations: 0 / 447.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5802, allocations: 319.5 kB / 447.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.5803, allocations: 16 kB / 447.5 MB, free: 9.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.5804, allocations: 44.3 kB / 447.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.5805, allocations: 29.16 kB / 447.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5805, allocations: 0 / 447.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002347/0.5807, allocations: 98.48 kB / 447.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5808, allocations: 9.672 kB / 447.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5808, allocations: 4 kB / 447.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5808, allocations: 4.125 kB / 447.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.5811, allocations: 31.97 kB / 447.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5811, allocations: 0 / 447.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.5813, allocations: 15.84 kB / 447.8 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.5813, allocations: 4 kB / 447.8 MB, free: 8.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.193e-05/0.5814, allocations: 112.9 kB / 447.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.5815, allocations: 15.89 kB / 447.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.5815, allocations: 12.8 kB / 447.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5816, allocations: 4 kB / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5816, allocations: 0 / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5816, allocations: 0 / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.5819, allocations: 209.5 kB / 448.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5819, allocations: 0 / 448.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.5821, allocations: 19.98 kB / 448.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5821, allocations: 0 / 448.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5821, allocations: 1.031 kB / 448.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.5821, allocations: 7.953 kB / 448.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5821, allocations: 2.188 kB / 448.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.5824, allocations: 163.4 kB / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.5824, allocations: 84.95 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.5825, allocations: 8 kB / 448.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.5827, allocations: 7.984 kB / 448.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.5827, allocations: 11.95 kB / 448.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.5827, allocations: 128 / 448.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.5829, allocations: 113.9 kB / 448.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5829, allocations: 0 / 448.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.5833, allocations: 25.31 kB / 448.5 MB, free: 8.004 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000543/0.5838, allocations: 0.6968 MB / 449.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.5841, allocations: 47.92 kB / 449.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5841, allocations: 0 / 449.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.5842, allocations: 19.94 kB / 449.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5844, allocations: 8.562 kB / 449.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.5852, allocations: 205.8 kB / 449.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5856, allocations: 0.7119 MB / 450.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.5857, allocations: 39.42 kB / 450.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5857, allocations: 0 / 450.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.219/2.805, allocations: 1.844 MB / 452.1 MB, free: 4.352 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat