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.941/1.941, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.067e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09483, allocations: 44.51 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.653/7.748, allocations: 2.588 GB / 2.881 GB, free: 92.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/7.748, allocations: 79.5 kB / 2.881 GB, free: 92.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.222/12.97, allocations: 0.9601 GB / 3.841 GB, free: 30.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.844e-06/12.97, allocations: 1.781 kB / 3.841 GB, free: 30.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002542/12.97, allocations: 56.5 kB / 3.841 GB, free: 30.35 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.01699/12.99, allocations: 3.384 MB / 3.844 GB, free: 28.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/12.99, allocations: 13.47 kB / 3.844 GB, free: 28.82 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001275/12.99, allocations: 270.1 kB / 3.845 GB, free: 28.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/13.01, allocations: 1.225 MB / 3.846 GB, free: 28.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005927/13.02, allocations: 1.537 MB / 3.847 GB, free: 28.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/13.02, allocations: 350.6 kB / 3.848 GB, free: 28.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/13.02, allocations: 186.7 kB / 3.848 GB, free: 28.08 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/13.03, allocations: 3.438 MB / 3.851 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.85e-05/13.03, allocations: 8.109 kB / 3.851 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/13.03, allocations: 85.02 kB / 3.851 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/13.03, allocations: 108 kB / 3.851 GB, free: 27.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/13.05, allocations: 3.265 MB / 3.855 GB, free: 27.67 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.03666/13.08, allocations: 14.46 MB / 3.869 GB, free: 20.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009691/13.09, allocations: 2.678 MB / 3.871 GB, free: 20.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/13.1, allocations: 1.264 MB / 3.873 GB, free: 20.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/13.11, allocations: 3.769 MB / 3.876 GB, free: 17.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/13.11, allocations: 56.88 kB / 3.876 GB, free: 17.82 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005913/13.11, allocations: 0.5656 MB / 3.877 GB, free: 17.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 1.393e-05/13.11, allocations: 0 / 3.877 GB, free: 17.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.05249/13.17, allocations: 10.11 MB / 3.887 GB, free: 16.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/13.17, allocations: 151.3 kB / 3.887 GB, free: 16.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/13.17, allocations: 1.207 MB / 3.888 GB, free: 16.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007683/13.17, allocations: 65.86 kB / 3.888 GB, free: 16.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007261/13.17, allocations: 0.7674 MB / 3.889 GB, free: 16.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/13.17, allocations: 0.6772 MB / 3.89 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/13.17, allocations: 44.91 kB / 3.89 GB, free: 15.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/13.17, allocations: 391.8 kB / 3.89 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00333/13.18, allocations: 1.113 MB / 3.891 GB, free: 15.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/13.18, allocations: 1.558 MB / 3.893 GB, free: 14.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/13.18, allocations: 1.228 MB / 3.894 GB, free: 14.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/13.18, allocations: 2.812 kB / 3.894 GB, free: 14.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01194/13.2, allocations: 3.509 MB / 3.897 GB, free: 14.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001091/13.2, allocations: 4.881 MB / 3.902 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/13.2, allocations: 9.969 kB / 3.902 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007435/13.2, allocations: 1.546 MB / 3.903 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/13.21, allocations: 477.6 kB / 3.904 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008674/13.22, allocations: 6.582 MB / 3.91 GB, free: 20.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/13.22, allocations: 223.8 kB / 3.911 GB, free: 20.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007505/13.22, allocations: 120.4 kB / 3.911 GB, free: 20.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/13.22, allocations: 7.031 kB / 3.911 GB, free: 20.81 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009863/13.23, allocations: 3.134 MB / 3.914 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/13.23, allocations: 12.12 kB / 3.914 GB, free: 20.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004027/13.24, allocations: 0.9973 MB / 3.915 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/13.24, allocations: 0.4925 MB / 3.915 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/13.26, allocations: 10.12 MB / 3.925 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/13.26, allocations: 226.1 kB / 3.925 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005499/13.26, allocations: 110.1 kB / 3.925 GB, free: 13.45 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.0009924/13.26, allocations: 244 kB / 3.926 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007527/13.26, allocations: 199.4 kB / 3.926 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/13.28, allocations: 9.639 MB / 3.935 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000137/13.28, allocations: 102.3 kB / 3.935 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/13.28, allocations: 0 / 3.935 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/13.28, allocations: 13.97 kB / 3.935 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/13.31, allocations: 13.13 MB / 3.948 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/13.31, allocations: 3.031 kB / 3.948 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/13.31, allocations: 401.5 kB / 3.949 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/13.32, allocations: 4.693 MB / 3.953 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000731/13.33, allocations: 58.92 kB / 3.953 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/13.34, allocations: 8.751 MB / 3.962 GB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/13.34, allocations: 5.172 kB / 3.962 GB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/13.36, allocations: 10.22 MB / 3.972 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/13.36, allocations: 0.9021 MB / 3.973 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009908/13.36, allocations: 55.39 kB / 3.973 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004752/13.37, allocations: 237.4 kB / 3.973 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/13.37, allocations: 227.7 kB / 3.973 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003992/13.37, allocations: 84.2 kB / 3.973 GB, free: 13.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003028/13.37, allocations: 1.226 MB / 3.974 GB, free: 13.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/13.37, allocations: 2.094 kB / 3.974 GB, free: 13.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01409/13.39, allocations: 2.382 MB / 3.977 GB, free: 11.46 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.03788/13.43, allocations: 12.23 MB / 3.989 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3993/13.83, allocations: 6.188 MB / 3.995 GB, free: 57.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/13.83, allocations: 2.75 kB / 3.995 GB, free: 57.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009859/13.84, allocations: 2.951 MB / 3.998 GB, free: 57.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0097/13.84, allocations: 1.042 MB / 3.999 GB, free: 57.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/13.87, allocations: 7.731 MB / 4.006 GB, free: 56.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/13.87, allocations: 2.199 MB / 4.008 GB, free: 55.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/13.87, allocations: 1.334 MB / 4.01 GB, free: 55.52 MB / 490.7 MB Notification: Performance of SimCode: time 2.225e-06/13.87, allocations: 0 / 4.01 GB, free: 55.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.808/19.68, allocations: 187.9 MB / 4.193 GB, free: 71.99 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