Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.887e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.04/8.15, allocations: 2.477 GB / 2.791 GB, free: 89.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/8.151, allocations: 75.89 kB / 2.791 GB, free: 89.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.69/9.841, allocations: 304 MB / 3.088 GB, free: 47.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/9.841, allocations: 0 / 3.088 GB, free: 47.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.899e-05/9.841, allocations: 10.88 kB / 3.088 GB, free: 47.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006534/9.847, allocations: 1.295 MB / 3.09 GB, free: 46.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/9.847, allocations: 13.81 kB / 3.09 GB, free: 46.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/9.847, allocations: 59.88 kB / 3.09 GB, free: 46.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/9.851, allocations: 187.6 kB / 3.09 GB, free: 46.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/9.852, allocations: 353.2 kB / 3.09 GB, free: 46.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/9.852, allocations: 24.41 kB / 3.09 GB, free: 46.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/9.852, allocations: 26.55 kB / 3.09 GB, free: 46.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/9.854, allocations: 477.1 kB / 3.091 GB, free: 46.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/9.854, allocations: 5.641 kB / 3.091 GB, free: 46.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/9.854, allocations: 11.59 kB / 3.091 GB, free: 46.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/9.854, allocations: 7.281 kB / 3.091 GB, free: 46.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/9.855, allocations: 376.4 kB / 3.091 GB, free: 46.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/9.858, allocations: 2.291 MB / 3.093 GB, free: 44.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/9.859, allocations: 266.8 kB / 3.094 GB, free: 44.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/9.86, allocations: 67.7 kB / 3.094 GB, free: 44.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06064/9.92, allocations: 15.75 MB / 3.109 GB, free: 37.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/9.92, allocations: 37.31 kB / 3.109 GB, free: 37.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.326e-06/9.92, allocations: 3.5 kB / 3.109 GB, free: 37.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001862/9.922, allocations: 409.1 kB / 3.109 GB, free: 36.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/9.922, allocations: 109.8 kB / 3.11 GB, free: 36.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/9.923, allocations: 242.2 kB / 3.11 GB, free: 36.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/9.923, allocations: 28.83 kB / 3.11 GB, free: 36.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/9.923, allocations: 277.5 kB / 3.11 GB, free: 36.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/9.923, allocations: 47.55 kB / 3.11 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/9.923, allocations: 7.375 kB / 3.11 GB, free: 36.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/9.923, allocations: 324.2 kB / 3.11 GB, free: 36.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/9.923, allocations: 58.98 kB / 3.11 GB, free: 36.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/9.924, allocations: 194.2 kB / 3.111 GB, free: 35.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/9.924, allocations: 84.84 kB / 3.111 GB, free: 35.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/9.924, allocations: 7.859 kB / 3.111 GB, free: 35.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006016/9.924, allocations: 252.8 kB / 3.111 GB, free: 35.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/9.924, allocations: 6.969 kB / 3.111 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/9.924, allocations: 10.77 kB / 3.111 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/9.924, allocations: 6.688 kB / 3.111 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/9.925, allocations: 86.5 kB / 3.111 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/9.925, allocations: 6.969 kB / 3.111 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/9.925, allocations: 51.03 kB / 3.111 GB, free: 35.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/9.926, allocations: 17.12 kB / 3.111 GB, free: 35.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * 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.000104/9.926, allocations: 125 kB / 3.111 GB, free: 35.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/9.926, allocations: 32.14 kB / 3.111 GB, free: 35.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/9.927, allocations: 0.8957 MB / 3.112 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/9.927, allocations: 11.3 kB / 3.112 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/9.927, allocations: 1.031 kB / 3.112 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/9.927, allocations: 3.234 kB / 3.112 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007942/9.928, allocations: 0.5626 MB / 3.113 GB, free: 35.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/9.928, allocations: 0 / 3.113 GB, free: 35.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/9.928, allocations: 58 kB / 3.113 GB, free: 35.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/9.928, allocations: 0 / 3.113 GB, free: 35.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/9.928, allocations: 11.23 kB / 3.113 GB, free: 35.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/9.928, allocations: 3.938 kB / 3.113 GB, free: 35.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/9.928, allocations: 0 / 3.113 GB, free: 35.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/9.929, allocations: 478.8 kB / 3.113 GB, free: 35.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/9.929, allocations: 161.2 kB / 3.113 GB, free: 35.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/9.929, allocations: 3.953 kB / 3.113 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/9.93, allocations: 30.25 kB / 3.113 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/9.93, allocations: 21.89 kB / 3.114 GB, free: 35.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/9.93, allocations: 6.234 kB / 3.114 GB, free: 35.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003088/9.93, allocations: 224.3 kB / 3.114 GB, free: 35.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.93, allocations: 3.906 kB / 3.114 GB, free: 35.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004817/9.935, allocations: 0.8633 MB / 3.115 GB, free: 34.91 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009979/9.945, allocations: 2.192 MB / 3.117 GB, free: 34.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006336/9.946, allocations: 247.9 kB / 3.117 GB, free: 34.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/9.946, allocations: 0 / 3.117 GB, free: 34.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/9.946, allocations: 180.8 kB / 3.117 GB, free: 34.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/9.947, allocations: 131.9 kB / 3.117 GB, free: 34.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.198/10.15, allocations: 55.18 MB / 3.171 GB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/10.15, allocations: 0.853 MB / 3.172 GB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/10.15, allocations: 146 kB / 3.172 GB, free: 19.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.472e-06/10.15, allocations: 0 / 3.172 GB, free: 19.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.41/13.56, allocations: 24.03 MB / 3.196 GB, free: 1.105 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat