Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.534e-05/4.538e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.094/7.359, allocations: 2.478 GB / 2.736 GB, free: 82.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/7.359, allocations: 85.58 kB / 2.736 GB, free: 82.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.686/12.05, allocations: 0.935 GB / 3.671 GB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/12.05, allocations: 0 / 3.671 GB, free: 11.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002197/12.05, allocations: 59.64 kB / 3.671 GB, free: 11.3 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.0152/12.06, allocations: 3.301 MB / 3.674 GB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/12.06, allocations: 11.97 kB / 3.674 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/12.06, allocations: 268.5 kB / 3.675 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/12.08, allocations: 1.132 MB / 3.676 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/12.09, allocations: 1.543 MB / 3.677 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/12.09, allocations: 339.7 kB / 3.677 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008073/12.09, allocations: 191.9 kB / 3.678 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/12.1, allocations: 3.437 MB / 3.681 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.79e-05/12.1, allocations: 7.938 kB / 3.681 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/12.1, allocations: 83.97 kB / 3.681 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/12.1, allocations: 111.3 kB / 3.681 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/12.12, allocations: 3.27 MB / 3.684 GB, free: 15.58 MB / 410.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.03962/12.16, allocations: 14.45 MB / 3.698 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.349/12.5, allocations: 2.666 MB / 3.701 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/12.51, allocations: 1.269 MB / 3.702 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009636/12.52, allocations: 3.734 MB / 3.706 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/12.52, allocations: 59.03 kB / 3.706 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00582/12.52, allocations: 0.5725 MB / 3.707 GB, free: 26.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.233e-05/12.52, allocations: 1.844 kB / 3.707 GB, free: 26.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.09708/12.62, allocations: 10.11 MB / 3.716 GB, free: 26.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/12.62, allocations: 147.7 kB / 3.717 GB, free: 26.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/12.62, allocations: 1.211 MB / 3.718 GB, free: 25.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007203/12.62, allocations: 64.52 kB / 3.718 GB, free: 25.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00062/12.62, allocations: 0.7688 MB / 3.719 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/12.63, allocations: 0.6678 MB / 3.719 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/12.63, allocations: 41.47 kB / 3.719 GB, free: 25.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/12.63, allocations: 404.7 kB / 3.72 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/12.63, allocations: 1.104 MB / 3.721 GB, free: 24.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/12.63, allocations: 1.554 MB / 3.722 GB, free: 24.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/12.64, allocations: 1.226 MB / 3.723 GB, free: 24.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/12.64, allocations: 3.438 kB / 3.723 GB, free: 24.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01221/12.65, allocations: 3.514 MB / 3.727 GB, free: 24.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001037/12.65, allocations: 4.889 MB / 3.732 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/12.65, allocations: 15.91 kB / 3.732 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00747/12.66, allocations: 1.541 MB / 3.733 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/12.66, allocations: 476 kB / 3.734 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008061/12.67, allocations: 6.573 MB / 3.74 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/12.67, allocations: 223.8 kB / 3.74 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007927/12.68, allocations: 114 kB / 3.74 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/12.68, allocations: 5.875 kB / 3.74 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01018/12.69, allocations: 3.144 MB / 3.743 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.4e-05/12.69, allocations: 16.12 kB / 3.743 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003916/12.69, allocations: 0.9894 MB / 3.744 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/12.69, allocations: 0.494 MB / 3.745 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/12.71, allocations: 10.11 MB / 3.755 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00361/12.71, allocations: 220.6 kB / 3.755 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005203/12.71, allocations: 117 kB / 3.755 GB, free: 6.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 210 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009488/12.71, allocations: 255 kB / 3.755 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007614/12.71, allocations: 198.3 kB / 3.756 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/12.73, allocations: 9.631 MB / 3.765 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001319/12.73, allocations: 103.2 kB / 3.765 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/12.73, allocations: 0 / 3.765 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.456e-05/12.73, allocations: 16.33 kB / 3.765 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/12.76, allocations: 13.13 MB / 3.778 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/12.76, allocations: 0 / 3.778 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/12.76, allocations: 403.1 kB / 3.778 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/12.77, allocations: 4.697 MB / 3.783 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000635/12.77, allocations: 63.38 kB / 3.783 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/12.78, allocations: 8.745 MB / 3.791 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/12.78, allocations: 4.094 kB / 3.791 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/12.8, allocations: 10.23 MB / 3.801 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/12.81, allocations: 0.9099 MB / 3.802 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008744/12.81, allocations: 45.42 kB / 3.802 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004198/12.81, allocations: 232.6 kB / 3.803 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008614/12.81, allocations: 229.7 kB / 3.803 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/12.81, allocations: 84.33 kB / 3.803 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002524/12.82, allocations: 1.227 MB / 3.804 GB, free: 13.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/12.82, allocations: 0 / 3.804 GB, free: 13.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01201/12.83, allocations: 2.364 MB / 3.806 GB, free: 13.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.03384/12.86, allocations: 12.22 MB / 3.818 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01928/12.88, allocations: 5.898 MB / 3.824 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/12.88, allocations: 4.422 kB / 3.824 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00936/12.89, allocations: 2.96 MB / 3.827 GB, free: 5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/12.9, allocations: 1.044 MB / 3.828 GB, free: 4.785 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/12.94, allocations: 7.741 MB / 3.836 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003851/12.94, allocations: 2.207 MB / 3.838 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004512/12.95, allocations: 1.337 MB / 3.839 GB, free: 12.67 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/12.95, allocations: 0 / 3.839 GB, free: 12.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.364/19.31, allocations: 187.6 MB / 4.022 GB, free: 79.94 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat does not exist to compare? outputFormat=mat