Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.628e-05, allocations: 0 / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.818/8.957, allocations: 2.759 GB / 3.16 GB, free: 91.18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/8.957, allocations: 79.95 kB / 3.16 GB, free: 91.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.473/10.43, allocations: 294.7 MB / 3.448 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/10.43, allocations: 0 / 3.448 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.171e-05/10.43, allocations: 15.98 kB / 3.448 GB, free: 15.01 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005296/10.44, allocations: 1.2 MB / 3.449 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/10.44, allocations: 8.031 kB / 3.449 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.586e-05/10.44, allocations: 58.55 kB / 3.449 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/10.44, allocations: 124.1 kB / 3.449 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/10.44, allocations: 325.4 kB / 3.449 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/10.44, allocations: 20.56 kB / 3.449 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/10.44, allocations: 24 kB / 3.449 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/10.44, allocations: 441.8 kB / 3.45 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/10.44, allocations: 4 kB / 3.45 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/10.44, allocations: 12 kB / 3.45 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/10.44, allocations: 11.94 kB / 3.45 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/10.44, allocations: 324.5 kB / 3.45 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/10.44, allocations: 2.36 MB / 3.452 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/10.45, allocations: 230.4 kB / 3.453 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/10.45, allocations: 56.84 kB / 3.453 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/10.45, allocations: 481.5 kB / 3.453 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/10.45, allocations: 30.56 kB / 3.453 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.715e-06/10.45, allocations: 0 / 3.453 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001654/10.45, allocations: 361.1 kB / 3.454 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/10.45, allocations: 106.8 kB / 3.454 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/10.45, allocations: 282.7 kB / 3.454 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/10.45, allocations: 25.7 kB / 3.454 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/10.45, allocations: 215.6 kB / 3.454 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/10.45, allocations: 43.39 kB / 3.454 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/10.45, allocations: 7.938 kB / 3.454 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/10.45, allocations: 334.8 kB / 3.455 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/10.45, allocations: 44 kB / 3.455 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/10.45, allocations: 169.8 kB / 3.455 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/10.45, allocations: 76.03 kB / 3.455 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/10.45, allocations: 0 / 3.455 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005634/10.45, allocations: 233.4 kB / 3.455 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/10.45, allocations: 11.59 kB / 3.455 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/10.45, allocations: 8 kB / 3.455 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/10.45, allocations: 4 kB / 3.455 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/10.45, allocations: 75.84 kB / 3.455 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/10.45, allocations: 11.92 kB / 3.455 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/10.45, allocations: 55.61 kB / 3.455 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/10.45, allocations: 12 kB / 3.455 GB, free: 6.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (27): * Single equations (assignments): 27 * 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.0001166/10.45, allocations: 116.9 kB / 3.455 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/10.45, allocations: 31.62 kB / 3.455 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/10.45, allocations: 0.69 MB / 3.456 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/10.45, allocations: 11.98 kB / 3.456 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/10.45, allocations: 3.953 kB / 3.456 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/10.45, allocations: 4 kB / 3.456 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/10.45, allocations: 0.5181 MB / 3.457 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/10.45, allocations: 0 / 3.457 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/10.45, allocations: 59.83 kB / 3.457 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/10.45, allocations: 0 / 3.457 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/10.45, allocations: 8 kB / 3.457 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/10.45, allocations: 0 / 3.457 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/10.45, allocations: 0 / 3.457 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/10.45, allocations: 393.8 kB / 3.457 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/10.45, allocations: 188.1 kB / 3.457 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/10.45, allocations: 8 kB / 3.457 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/10.46, allocations: 23.97 kB / 3.457 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/10.46, allocations: 23.92 kB / 3.457 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/10.46, allocations: 4 kB / 3.457 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004953/10.46, allocations: 333.6 kB / 3.458 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/10.46, allocations: 7.938 kB / 3.458 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004579/10.46, allocations: 0.8664 MB / 3.458 GB, free: 3.363 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.009578/10.47, allocations: 2.136 MB / 3.46 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005689/10.47, allocations: 192.7 kB / 3.461 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/10.47, allocations: 4 kB / 3.461 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/10.47, allocations: 128 kB / 3.461 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/10.47, allocations: 169.2 kB / 3.461 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4081/10.88, allocations: 0.9241 MB / 3.462 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/10.88, allocations: 0.8523 MB / 3.463 GB, free: 75.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006126/10.88, allocations: 120.1 kB / 3.463 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/10.88, allocations: 155.2 kB / 3.463 GB, free: 75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/10.88, allocations: 0 / 3.463 GB, free: 75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/10.99, allocations: 36.24 MB / 3.498 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/10.99, allocations: 217.2 kB / 3.499 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.182/15.18, allocations: 0 / 3.499 GB, free: 74.32 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat