Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.872e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.429, allocations: 54.86 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.793/8.222, allocations: 2.597 GB / 2.948 GB, free: 111.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/8.223, allocations: 84.56 kB / 2.948 GB, free: 111.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.35/12.57, allocations: 0.8029 GB / 3.751 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.714e-06/12.57, allocations: 0 / 3.751 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002229/12.57, allocations: 53.55 kB / 3.751 GB, free: 32.64 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01496/12.59, allocations: 2.966 MB / 3.754 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/12.59, allocations: 11.19 kB / 3.754 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009361/12.59, allocations: 264.4 kB / 3.754 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/12.6, allocations: 0.8493 MB / 3.755 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00714/12.61, allocations: 1.145 MB / 3.756 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000955/12.61, allocations: 466 kB / 3.757 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/12.61, allocations: 171.9 kB / 3.757 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/12.63, allocations: 3.088 MB / 3.76 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/12.63, allocations: 11.25 kB / 3.76 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008963/12.63, allocations: 82.47 kB / 3.76 GB, free: 29.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/12.63, allocations: 85.66 kB / 3.76 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/12.65, allocations: 2.504 MB / 3.762 GB, free: 29.71 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02697/12.68, allocations: 15.46 MB / 3.778 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/12.68, allocations: 1.23 MB / 3.779 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/12.68, allocations: 398.2 kB / 3.779 GB, free: 18.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07967/12.76, allocations: 18.42 MB / 3.797 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/12.76, allocations: 58.47 kB / 3.797 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 4.999e-06/12.76, allocations: 0 / 3.797 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.02119/12.78, allocations: 4.273 MB / 3.801 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/12.79, allocations: 166.2 kB / 3.802 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/12.79, allocations: 1.047 MB / 3.803 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/12.79, allocations: 52.36 kB / 3.803 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008421/12.79, allocations: 0.9914 MB / 3.804 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006148/12.79, allocations: 425.6 kB / 3.804 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/12.79, allocations: 46.56 kB / 3.804 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002746/12.79, allocations: 405.1 kB / 3.804 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/12.79, allocations: 0.5414 MB / 3.805 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/12.79, allocations: 1.829 MB / 3.807 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/12.8, allocations: 0.9032 MB / 3.808 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/12.8, allocations: 11.72 kB / 3.808 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.008029/12.8, allocations: 2.413 MB / 3.81 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/12.8, allocations: 24.38 kB / 3.81 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.066e-05/12.8, allocations: 47.41 kB / 3.81 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/12.81, allocations: 403 kB / 3.81 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/12.81, allocations: 0.5159 MB / 3.811 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/12.81, allocations: 2.709 MB / 3.814 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/12.82, allocations: 195.9 kB / 3.814 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005863/12.82, allocations: 146.4 kB / 3.814 GB, free: 20.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000729/12.82, allocations: 312.4 kB / 3.814 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/12.82, allocations: 151.8 kB / 3.814 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008087/12.83, allocations: 4.531 MB / 3.819 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/12.83, allocations: 47.44 kB / 3.819 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/12.83, allocations: 3.562 kB / 3.819 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/12.83, allocations: 7.594 kB / 3.819 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/12.84, allocations: 6.663 MB / 3.825 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/12.84, allocations: 3.656 kB / 3.825 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/12.84, allocations: 222.7 kB / 3.826 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/12.84, allocations: 398.9 kB / 3.826 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/12.84, allocations: 35.59 kB / 3.826 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/12.85, allocations: 2.744 MB / 3.829 GB, free: 16.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/12.85, allocations: 7.156 kB / 3.829 GB, free: 16.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/12.85, allocations: 3.797 MB / 3.832 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/12.86, allocations: 446.7 kB / 3.833 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006281/12.86, allocations: 28.84 kB / 3.833 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/12.86, allocations: 121.2 kB / 3.833 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/12.86, allocations: 99.33 kB / 3.833 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/12.86, allocations: 49.77 kB / 3.833 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002029/12.86, allocations: 0.7982 MB / 3.834 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.194e-06/12.86, allocations: 0 / 3.834 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008421/12.87, allocations: 1.48 MB / 3.835 GB, free: 15.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01838/12.89, allocations: 7.064 MB / 3.842 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00477/12.89, allocations: 1.913 MB / 3.844 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/12.89, allocations: 320 / 3.844 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/12.9, allocations: 1.209 MB / 3.845 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/12.9, allocations: 0.616 MB / 3.846 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.076/13.98, allocations: 217 MB / 4.058 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/13.98, allocations: 1.644 MB / 4.059 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/13.98, allocations: 0.8713 MB / 4.06 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/13.98, allocations: 0 / 4.06 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.126/19.11, allocations: 86.85 MB / 4.145 GB, free: 68.23 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat