Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 194.9 MB / 208.4 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.642e-05, allocations: 7.094 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09878, allocations: 44.51 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.691/7.79, allocations: 2.588 GB / 2.881 GB, free: 92.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/7.79, allocations: 78.3 kB / 2.881 GB, free: 92.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.563/13.35, allocations: 0.9601 GB / 3.841 GB, free: 30.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.178e-06/13.35, allocations: 2.25 kB / 3.841 GB, free: 30.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003296/13.35, allocations: 62.39 kB / 3.841 GB, free: 30.5 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01794/13.37, allocations: 3.375 MB / 3.844 GB, free: 28.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/13.37, allocations: 11.59 kB / 3.844 GB, free: 28.96 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00153/13.37, allocations: 267.2 kB / 3.845 GB, free: 28.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02339/13.4, allocations: 1.226 MB / 3.846 GB, free: 28.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006463/13.4, allocations: 1.537 MB / 3.847 GB, free: 28.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005793/13.4, allocations: 347.8 kB / 3.848 GB, free: 28.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/13.4, allocations: 190.1 kB / 3.848 GB, free: 28.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/13.42, allocations: 3.461 MB / 3.851 GB, free: 27.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/13.42, allocations: 9.844 kB / 3.851 GB, free: 27.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/13.42, allocations: 86.11 kB / 3.851 GB, free: 27.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/13.42, allocations: 107.4 kB / 3.851 GB, free: 27.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/13.44, allocations: 3.298 MB / 3.855 GB, free: 27.79 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.03977/13.48, allocations: 14.45 MB / 3.869 GB, free: 20.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/13.49, allocations: 2.687 MB / 3.871 GB, free: 20.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/13.49, allocations: 1.265 MB / 3.873 GB, free: 20.63 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/13.5, allocations: 3.777 MB / 3.876 GB, free: 17.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.477e-05/13.5, allocations: 58.91 kB / 3.876 GB, free: 17.95 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005935/13.51, allocations: 0.5802 MB / 3.877 GB, free: 17.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 1.671e-05/13.51, allocations: 0 / 3.877 GB, free: 17.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.05463/13.56, allocations: 10.1 MB / 3.887 GB, free: 17.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/13.56, allocations: 155.4 kB / 3.887 GB, free: 16.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/13.56, allocations: 1.215 MB / 3.888 GB, free: 16.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007437/13.56, allocations: 63.33 kB / 3.888 GB, free: 16.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007672/13.57, allocations: 0.7604 MB / 3.889 GB, free: 16.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/13.57, allocations: 0.6751 MB / 3.89 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/13.57, allocations: 44.06 kB / 3.89 GB, free: 15.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/13.57, allocations: 395.3 kB / 3.89 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/13.57, allocations: 1.111 MB / 3.891 GB, free: 15.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00415/13.58, allocations: 1.569 MB / 3.893 GB, free: 15.01 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/13.58, allocations: 1.227 MB / 3.894 GB, free: 14.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/13.58, allocations: 4.469 kB / 3.894 GB, free: 14.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01317/13.59, allocations: 3.545 MB / 3.897 GB, free: 14.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001255/13.59, allocations: 4.876 MB / 3.902 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-05/13.59, allocations: 13 kB / 3.902 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007939/13.6, allocations: 1.547 MB / 3.904 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/13.61, allocations: 475.5 kB / 3.904 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009589/13.62, allocations: 6.588 MB / 3.91 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/13.62, allocations: 222.2 kB / 3.911 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009449/13.62, allocations: 116.9 kB / 3.911 GB, free: 20.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/13.62, allocations: 5.688 kB / 3.911 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0117/13.63, allocations: 3.167 MB / 3.914 GB, free: 20.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/13.63, allocations: 14.22 kB / 3.914 GB, free: 20.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/13.64, allocations: 0.9918 MB / 3.915 GB, free: 20.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004485/13.64, allocations: 0.4975 MB / 3.915 GB, free: 20.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/13.66, allocations: 10.13 MB / 3.925 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/13.66, allocations: 225.7 kB / 3.925 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008601/13.66, allocations: 110.3 kB / 3.926 GB, free: 13.57 MB / 474.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.00162/13.66, allocations: 253.7 kB / 3.926 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/13.67, allocations: 196.7 kB / 3.926 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/13.69, allocations: 9.639 MB / 3.935 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001462/13.69, allocations: 104.1 kB / 3.935 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/13.69, allocations: 0 / 3.935 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-05/13.69, allocations: 15.42 kB / 3.936 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/13.72, allocations: 13.13 MB / 3.948 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.205e-05/13.72, allocations: 0 / 3.948 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003702/13.72, allocations: 403.4 kB / 3.949 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/13.73, allocations: 4.69 MB / 3.953 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007402/13.73, allocations: 68.42 kB / 3.953 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/13.75, allocations: 8.749 MB / 3.962 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/13.75, allocations: 0 / 3.962 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/13.78, allocations: 10.57 MB / 3.972 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/13.78, allocations: 0.9126 MB / 3.973 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/13.78, allocations: 48.58 kB / 3.973 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004807/13.79, allocations: 241.4 kB / 3.973 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/13.79, allocations: 224.7 kB / 3.974 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006351/13.79, allocations: 95.92 kB / 3.974 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00328/13.79, allocations: 1.221 MB / 3.975 GB, free: 14.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/13.79, allocations: 0 / 3.975 GB, free: 14.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01452/13.81, allocations: 2.383 MB / 3.977 GB, free: 12.98 MB / 490.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.03991/13.85, allocations: 12.2 MB / 3.989 GB, free: 2.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.4292/14.28, allocations: 6.244 MB / 3.995 GB, free: 57.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/14.28, allocations: 6.531 kB / 3.995 GB, free: 57.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01065/14.29, allocations: 2.961 MB / 3.998 GB, free: 57.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/14.3, allocations: 1.042 MB / 3.999 GB, free: 57.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/14.33, allocations: 7.742 MB / 4.007 GB, free: 56.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/14.33, allocations: 2.206 MB / 4.009 GB, free: 55.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/14.33, allocations: 1.329 MB / 4.01 GB, free: 55.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/14.33, allocations: 0 / 4.01 GB, free: 55.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.169/20.5, allocations: 187.8 MB / 4.194 GB, free: 72.38 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat does not exist to compare? outputFormat=mat