Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.645e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.158, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.04/8.198, allocations: 2.485 GB / 2.794 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/8.198, allocations: 81.58 kB / 2.794 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.96/12.16, allocations: 0.7747 GB / 3.569 GB, free: 22.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.275e-06/12.16, allocations: 0 / 3.569 GB, free: 22.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001731/12.16, allocations: 49.52 kB / 3.569 GB, free: 22.44 MB / 458.7 MB 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.0138/12.17, allocations: 2.906 MB / 3.572 GB, free: 19.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/12.17, allocations: 12.03 kB / 3.572 GB, free: 19.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009576/12.18, allocations: 0.7862 MB / 3.573 GB, free: 18.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/12.19, allocations: 1.153 MB / 3.574 GB, free: 17.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/12.19, allocations: 396.4 kB / 3.574 GB, free: 17.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/12.19, allocations: 104 kB / 3.574 GB, free: 16.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005446/12.19, allocations: 1.85 MB / 3.576 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006213/12.2, allocations: 2.368 MB / 3.579 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.947e-05/12.2, allocations: 11.88 kB / 3.579 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/12.2, allocations: 12 kB / 3.579 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/12.2, allocations: 82.67 kB / 3.579 GB, free: 12.37 MB / 458.7 MB 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.448/12.65, allocations: 24.25 MB / 3.602 GB, free: 20.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/12.65, allocations: 0.6613 MB / 3.603 GB, free: 20.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009592/12.65, allocations: 354.6 kB / 3.603 GB, free: 20.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.125/12.78, allocations: 18.35 MB / 3.621 GB, free: 28.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/12.78, allocations: 50.09 kB / 3.621 GB, free: 28.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 5.811e-06/12.78, allocations: 0 / 3.621 GB, free: 28.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.02185/12.8, allocations: 3.329 MB / 3.625 GB, free: 27.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/12.8, allocations: 166.2 kB / 3.625 GB, free: 27.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/12.8, allocations: 1.003 MB / 3.626 GB, free: 27.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/12.8, allocations: 25.7 kB / 3.626 GB, free: 27.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/12.8, allocations: 0.9894 MB / 3.627 GB, free: 26.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/12.8, allocations: 398.3 kB / 3.627 GB, free: 26.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/12.8, allocations: 0 / 3.627 GB, free: 26.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003205/12.8, allocations: 454.2 kB / 3.627 GB, free: 26.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/12.8, allocations: 498.3 kB / 3.628 GB, free: 26.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/12.81, allocations: 1.781 MB / 3.63 GB, free: 24.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/12.81, allocations: 0.8783 MB / 3.631 GB, free: 24.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-05/12.81, allocations: 11.31 kB / 3.631 GB, free: 24.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007185/12.82, allocations: 2.304 MB / 3.633 GB, free: 24.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/12.82, allocations: 24.23 kB / 3.633 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/12.82, allocations: 46.53 kB / 3.633 GB, free: 24.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/12.82, allocations: 388.8 kB / 3.633 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/12.82, allocations: 0.5262 MB / 3.634 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/12.82, allocations: 2.775 MB / 3.636 GB, free: 22.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/12.83, allocations: 159.6 kB / 3.637 GB, free: 22.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/12.83, allocations: 143.8 kB / 3.637 GB, free: 22.5 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006488/12.83, allocations: 245.3 kB / 3.637 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00411/12.83, allocations: 1.188 MB / 3.638 GB, free: 22.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/12.83, allocations: 150.2 kB / 3.638 GB, free: 22.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006805/12.84, allocations: 3.978 MB / 3.642 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/12.84, allocations: 40.69 kB / 3.642 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/12.84, allocations: 4.156 kB / 3.642 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/12.84, allocations: 6.797 kB / 3.642 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/12.85, allocations: 5.862 MB / 3.648 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/12.85, allocations: 7.578 kB / 3.648 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/12.85, allocations: 203.2 kB / 3.648 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/12.85, allocations: 387.7 kB / 3.649 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/12.85, allocations: 11.73 kB / 3.649 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/12.86, allocations: 2.874 MB / 3.651 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/12.86, allocations: 7.906 kB / 3.651 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/12.86, allocations: 3.561 MB / 3.655 GB, free: 18.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/12.86, allocations: 423.6 kB / 3.655 GB, free: 17.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004062/12.87, allocations: 14.31 kB / 3.655 GB, free: 17.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/12.87, allocations: 103.2 kB / 3.655 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/12.87, allocations: 92.98 kB / 3.655 GB, free: 17.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/12.87, allocations: 44.8 kB / 3.655 GB, free: 17.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0015/12.87, allocations: 0.7396 MB / 3.656 GB, free: 17.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/12.87, allocations: 0 / 3.656 GB, free: 17.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007658/12.88, allocations: 1.345 MB / 3.658 GB, free: 17.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($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,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01722/12.89, allocations: 7.226 MB / 3.665 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004617/12.9, allocations: 1.818 MB / 3.666 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/12.9, allocations: 1.031 kB / 3.666 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/12.9, allocations: 1.112 MB / 3.667 GB, free: 15.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/12.91, allocations: 0.5615 MB / 3.668 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.012/13.92, allocations: 210.5 MB / 3.874 GB, free: 58.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/13.92, allocations: 1.613 MB / 3.875 GB, free: 57.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003867/13.92, allocations: 0.9745 MB / 3.876 GB, free: 57.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/13.93, allocations: 0.8199 MB / 3.877 GB, free: 57.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/13.93, allocations: 0 / 3.877 GB, free: 57.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/14.11, allocations: 69.89 MB / 3.945 GB, free: 9.805 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/14.11, allocations: 194.6 kB / 3.945 GB, free: 9.602 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.702/19.81, allocations: 3.938 kB / 3.945 GB, free: 9.598 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat