Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.717e-05, allocations: 7.359 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.936/8.045, allocations: 2.56 GB / 2.874 GB, free: 9.836 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/8.045, allocations: 74.97 kB / 2.874 GB, free: 9.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.532/13.58, allocations: 0.9967 GB / 3.871 GB, free: 25.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/13.58, allocations: 0 / 3.871 GB, free: 25.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003307/13.58, allocations: 71.91 kB / 3.871 GB, free: 25.05 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02107/13.6, allocations: 4.264 MB / 3.875 GB, free: 23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/13.6, allocations: 13.41 kB / 3.875 GB, free: 22.99 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002102/13.6, allocations: 421.7 kB / 3.875 GB, free: 22.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/13.61, allocations: 0.9859 MB / 3.876 GB, free: 22.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009358/13.62, allocations: 2.255 MB / 3.878 GB, free: 22.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/13.62, allocations: 288.5 kB / 3.879 GB, free: 22.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/13.62, allocations: 249.2 kB / 3.879 GB, free: 22.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/13.64, allocations: 4.468 MB / 3.883 GB, free: 21.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/13.64, allocations: 11.06 kB / 3.883 GB, free: 21.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006249/13.64, allocations: 108.7 kB / 3.883 GB, free: 21.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004064/13.64, allocations: 224.4 kB / 3.884 GB, free: 21.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/13.65, allocations: 4.046 MB / 3.888 GB, free: 21.42 MB / 474.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.04311/13.7, allocations: 19.05 MB / 3.906 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009675/13.71, allocations: 2.781 MB / 3.909 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004088/13.71, allocations: 1.477 MB / 3.91 GB, free: 8.594 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0552/13.77, allocations: 17.06 MB / 3.927 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/13.77, allocations: 52.56 kB / 3.927 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002814/13.77, allocations: 238.2 kB / 3.927 GB, free: 12.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=194): time 1.018e-05/13.77, allocations: 0 / 3.927 GB, free: 12.27 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: heater.mediums[1].p 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.08063/13.85, allocations: 13.13 MB / 3.94 GB, free: 1.605 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/13.85, allocations: 132.8 kB / 3.94 GB, free: 1.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.414/14.26, allocations: 1.646 MB / 3.942 GB, free: 41.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007813/14.26, allocations: 66.8 kB / 3.942 GB, free: 41.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/14.27, allocations: 1.143 MB / 3.943 GB, free: 41.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/14.27, allocations: 0.7344 MB / 3.944 GB, free: 40.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/14.27, allocations: 48.66 kB / 3.944 GB, free: 40.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/14.27, allocations: 402.8 kB / 3.944 GB, free: 40.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/14.27, allocations: 1.319 MB / 3.945 GB, free: 40.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005261/14.28, allocations: 1.821 MB / 3.947 GB, free: 39.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/14.28, allocations: 1.536 MB / 3.949 GB, free: 39.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/14.28, allocations: 2.625 kB / 3.949 GB, free: 39.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01577/14.3, allocations: 4.046 MB / 3.953 GB, free: 39.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001324/14.3, allocations: 5.539 MB / 3.958 GB, free: 33.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.342e-05/14.3, allocations: 13 kB / 3.958 GB, free: 33.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007965/14.31, allocations: 1.138 MB / 3.959 GB, free: 33.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/14.31, allocations: 0.5328 MB / 3.96 GB, free: 33.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00692/14.32, allocations: 5.703 MB / 3.965 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00547/14.33, allocations: 310.7 kB / 3.966 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009343/14.33, allocations: 123.5 kB / 3.966 GB, free: 29.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/14.33, allocations: 4.938 kB / 3.966 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0118/14.34, allocations: 3.498 MB / 3.969 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.227e-05/14.34, allocations: 14.88 kB / 3.969 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/14.34, allocations: 0.6381 MB / 3.97 GB, free: 29.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005242/14.35, allocations: 0.5905 MB / 3.97 GB, free: 29.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009368/14.36, allocations: 8.483 MB / 3.979 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/14.36, allocations: 317 kB / 3.979 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009733/14.36, allocations: 109.9 kB / 3.979 GB, free: 22.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001423/14.36, allocations: 257 kB / 3.979 GB, free: 22.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009646/14.37, allocations: 232.2 kB / 3.98 GB, free: 22.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/14.38, allocations: 9.378 MB / 3.989 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001184/14.39, allocations: 110.2 kB / 3.989 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/14.39, allocations: 2.719 kB / 3.989 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01368/14.4, allocations: 8.25 MB / 3.997 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/14.43, allocations: 13.6 MB / 4.01 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/14.43, allocations: 1.125 kB / 4.01 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003471/14.43, allocations: 409 kB / 4.011 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009183/14.44, allocations: 2.675 MB / 4.013 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006206/14.44, allocations: 74.84 kB / 4.013 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006975/14.45, allocations: 6.934 MB / 4.02 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/14.45, allocations: 0.75 kB / 4.02 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/14.47, allocations: 9.968 MB / 4.03 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/14.47, allocations: 0.8283 MB / 4.031 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/14.47, allocations: 56.78 kB / 4.031 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003604/14.47, allocations: 265.5 kB / 4.031 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/14.47, allocations: 199.3 kB / 4.031 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/14.47, allocations: 83.95 kB / 4.031 GB, free: 14.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002752/14.48, allocations: 1.315 MB / 4.032 GB, free: 14.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/14.48, allocations: 2.25 kB / 4.032 GB, free: 14.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.014/14.49, allocations: 3.076 MB / 4.035 GB, free: 14.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03583/14.53, allocations: 12.85 MB / 4.048 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01833/14.55, allocations: 6.425 MB / 4.054 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/14.55, allocations: 3.75 kB / 4.054 GB, free: 10.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00791/14.55, allocations: 2.971 MB / 4.057 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009641/14.56, allocations: 1.084 MB / 4.058 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/14.59, allocations: 8.947 MB / 4.067 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003195/14.59, allocations: 2.586 MB / 4.069 GB, free: 4.758 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01181/14.61, allocations: 3.296 MB / 4.073 GB, free: 4.707 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003562/14.61, allocations: 1.48 MB / 4.074 GB, free: 3.488 MB / 490.7 MB Notification: Performance of SimCode: time 1.502e-06/14.61, allocations: 0 / 4.074 GB, free: 3.488 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.75/15.36, allocations: 143.3 MB / 4.214 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/15.36, allocations: 210.6 kB / 4.214 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.293/24.65, allocations: 0.5469 kB / 4.214 GB, free: 47.68 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat