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.598/1.598, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.974e-05, allocations: 4 kB / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2477, allocations: 38.78 MB / 263.8 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.217/7.464, allocations: 2.478 GB / 2.736 GB, free: 82.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/7.465, allocations: 79.33 kB / 2.736 GB, free: 82.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.873/12.34, allocations: 0.935 GB / 3.671 GB, free: 10.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/12.34, allocations: 0 / 3.671 GB, free: 10.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002205/12.34, allocations: 48.22 kB / 3.671 GB, free: 10.25 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.01562/12.35, allocations: 3.304 MB / 3.674 GB, free: 7.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/12.35, allocations: 15.97 kB / 3.674 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009784/12.35, allocations: 261.9 kB / 3.674 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/12.38, allocations: 1.133 MB / 3.676 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00594/12.38, allocations: 1.544 MB / 3.677 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/12.38, allocations: 344.1 kB / 3.677 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009064/12.38, allocations: 191.8 kB / 3.678 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/12.4, allocations: 3.466 MB / 3.681 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/12.4, allocations: 7.938 kB / 3.681 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/12.4, allocations: 83.97 kB / 3.681 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/12.4, allocations: 99.33 kB / 3.681 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/12.41, allocations: 3.304 MB / 3.684 GB, free: 14.05 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.4076/12.82, allocations: 14.45 MB / 3.698 GB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009655/12.83, allocations: 2.687 MB / 3.701 GB, free: 27.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/12.83, allocations: 1.275 MB / 3.702 GB, free: 27.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/12.84, allocations: 3.731 MB / 3.706 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.969e-05/12.84, allocations: 67.34 kB / 3.706 GB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005706/12.85, allocations: 0.5675 MB / 3.707 GB, free: 24.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 8.055e-06/12.85, allocations: 0 / 3.707 GB, free: 24.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.05041/12.9, allocations: 10.12 MB / 3.717 GB, free: 23.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/12.9, allocations: 154.8 kB / 3.717 GB, free: 23.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/12.9, allocations: 1.212 MB / 3.718 GB, free: 23.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007607/12.9, allocations: 64.52 kB / 3.718 GB, free: 23.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006581/12.9, allocations: 0.7586 MB / 3.719 GB, free: 22.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001276/12.9, allocations: 0.6738 MB / 3.719 GB, free: 22.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/12.9, allocations: 48.69 kB / 3.719 GB, free: 22.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/12.9, allocations: 399.8 kB / 3.72 GB, free: 22.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/12.91, allocations: 1.107 MB / 3.721 GB, free: 22.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/12.91, allocations: 1.567 MB / 3.722 GB, free: 21.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/12.91, allocations: 1.228 MB / 3.724 GB, free: 21.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/12.91, allocations: 4.969 kB / 3.724 GB, free: 21.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01168/12.93, allocations: 3.541 MB / 3.727 GB, free: 21.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001152/12.93, allocations: 4.888 MB / 3.732 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-05/12.93, allocations: 11.41 kB / 3.732 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007526/12.94, allocations: 1.541 MB / 3.733 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/12.94, allocations: 475.3 kB / 3.734 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008516/12.95, allocations: 6.588 MB / 3.74 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004701/12.95, allocations: 222.1 kB / 3.74 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007839/12.95, allocations: 121 kB / 3.741 GB, free: 11.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/12.95, allocations: 3.312 kB / 3.741 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/12.96, allocations: 3.167 MB / 3.744 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/12.96, allocations: 16.72 kB / 3.744 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/12.97, allocations: 0.9915 MB / 3.745 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/12.97, allocations: 0.4946 MB / 3.745 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/12.99, allocations: 10.12 MB / 3.755 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/12.99, allocations: 215.3 kB / 3.755 GB, free: 20.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/12.99, allocations: 122 kB / 3.755 GB, free: 20.37 MB / 426.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.00106/12.99, allocations: 242.3 kB / 3.755 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007549/12.99, allocations: 199.4 kB / 3.756 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/13.01, allocations: 9.647 MB / 3.765 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001273/13.01, allocations: 114.3 kB / 3.765 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/13.01, allocations: 0 / 3.765 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-05/13.01, allocations: 11.39 kB / 3.765 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02753/13.04, allocations: 13.13 MB / 3.778 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/13.04, allocations: 2.062 kB / 3.778 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003606/13.04, allocations: 404.2 kB / 3.778 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01073/13.05, allocations: 4.687 MB / 3.783 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006672/13.05, allocations: 59.8 kB / 3.783 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/13.07, allocations: 8.75 MB / 3.792 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/13.07, allocations: 0 / 3.792 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/13.09, allocations: 10.23 MB / 3.802 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/13.09, allocations: 0.9153 MB / 3.803 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/13.09, allocations: 41.88 kB / 3.803 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004432/13.1, allocations: 230.9 kB / 3.803 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/13.1, allocations: 232.2 kB / 3.803 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/13.1, allocations: 92.02 kB / 3.803 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00274/13.1, allocations: 1.221 MB / 3.804 GB, free: 11.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.553e-06/13.1, allocations: 0 / 3.804 GB, free: 11.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01239/13.11, allocations: 2.364 MB / 3.807 GB, free: 10.98 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.03488/13.15, allocations: 12.19 MB / 3.818 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01969/13.17, allocations: 5.986 MB / 3.824 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/13.17, allocations: 8.297 kB / 3.824 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0095/13.18, allocations: 2.973 MB / 3.827 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009431/13.19, allocations: 1.036 MB / 3.828 GB, free: 2.305 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/13.22, allocations: 7.995 MB / 3.836 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/13.22, allocations: 2.206 MB / 3.838 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/13.22, allocations: 1.335 MB / 3.84 GB, free: 10.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/13.22, allocations: 0 / 3.84 GB, free: 10.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.054/19.28, allocations: 187.5 MB / 4.023 GB, free: 82.7 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