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.941/1.941, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.793e-05, allocations: 5.531 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.017/8.123, allocations: 2.56 GB / 2.874 GB, free: 9.578 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/8.123, allocations: 75.97 kB / 2.874 GB, free: 9.543 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55/13.67, allocations: 0.9967 GB / 3.871 GB, free: 25.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/13.67, allocations: 2.062 kB / 3.871 GB, free: 25.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003465/13.67, allocations: 74.78 kB / 3.871 GB, free: 25.27 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.02187/13.7, allocations: 4.271 MB / 3.875 GB, free: 23.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/13.7, allocations: 13.53 kB / 3.875 GB, free: 23.21 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002065/13.7, allocations: 418.9 kB / 3.875 GB, free: 23.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/13.71, allocations: 0.9857 MB / 3.876 GB, free: 22.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009564/13.72, allocations: 2.258 MB / 3.878 GB, free: 22.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/13.72, allocations: 282.8 kB / 3.879 GB, free: 22.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/13.72, allocations: 250.4 kB / 3.879 GB, free: 22.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/13.74, allocations: 4.446 MB / 3.883 GB, free: 21.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/13.74, allocations: 7.281 kB / 3.883 GB, free: 21.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005292/13.74, allocations: 116.5 kB / 3.883 GB, free: 21.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003985/13.74, allocations: 220.5 kB / 3.884 GB, free: 21.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/13.75, allocations: 3.998 MB / 3.888 GB, free: 21.69 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.04018/13.79, allocations: 19.05 MB / 3.906 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009374/13.8, allocations: 2.766 MB / 3.909 GB, free: 9.301 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/13.81, allocations: 1.475 MB / 3.91 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05559/13.86, allocations: 17.05 MB / 3.927 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.944e-05/13.86, allocations: 52.56 kB / 3.927 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002863/13.86, allocations: 236.7 kB / 3.927 GB, free: 12.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=194): time 9.308e-06/13.86, allocations: 0 / 3.927 GB, free: 12.45 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.07871/13.94, allocations: 13.12 MB / 3.94 GB, free: 1.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/13.94, allocations: 132.8 kB / 3.94 GB, free: 1.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004688/13.95, allocations: 1.658 MB / 3.942 GB, free: 96 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008214/13.95, allocations: 61.7 kB / 3.942 GB, free: 28 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.4172/14.37, allocations: 1.143 MB / 3.943 GB, free: 41.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001695/14.37, allocations: 0.7291 MB / 3.944 GB, free: 41.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/14.37, allocations: 49.12 kB / 3.944 GB, free: 41.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002939/14.37, allocations: 402 kB / 3.944 GB, free: 41.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00456/14.37, allocations: 1.322 MB / 3.945 GB, free: 41.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005364/14.38, allocations: 1.8 MB / 3.947 GB, free: 40.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005114/14.38, allocations: 1.539 MB / 3.949 GB, free: 40.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.073e-05/14.38, allocations: 5.125 kB / 3.949 GB, free: 40.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01663/14.4, allocations: 4.008 MB / 3.953 GB, free: 40.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001446/14.4, allocations: 5.539 MB / 3.958 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/14.4, allocations: 15.75 kB / 3.958 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007969/14.41, allocations: 1.141 MB / 3.959 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/14.41, allocations: 0.5285 MB / 3.96 GB, free: 34.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00693/14.42, allocations: 5.696 MB / 3.965 GB, free: 30.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00582/14.43, allocations: 322.7 kB / 3.966 GB, free: 30.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/14.43, allocations: 116.3 kB / 3.966 GB, free: 30.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/14.43, allocations: 5.625 kB / 3.966 GB, free: 30.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/14.44, allocations: 3.46 MB / 3.969 GB, free: 30.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.49e-05/14.44, allocations: 15.8 kB / 3.969 GB, free: 30.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/14.45, allocations: 0.6453 MB / 3.97 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005487/14.45, allocations: 0.5894 MB / 3.97 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009598/14.46, allocations: 8.465 MB / 3.978 GB, free: 23.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/14.47, allocations: 315.6 kB / 3.979 GB, free: 23.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/14.47, allocations: 111.8 kB / 3.979 GB, free: 23.56 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.001406/14.47, allocations: 252.7 kB / 3.979 GB, free: 23.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/14.47, allocations: 231.5 kB / 3.979 GB, free: 23.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/14.49, allocations: 9.382 MB / 3.989 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001478/14.49, allocations: 109 kB / 3.989 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/14.49, allocations: 0 / 3.989 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01645/14.51, allocations: 8.253 MB / 3.997 GB, free: 21.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03292/14.54, allocations: 13.61 MB / 4.01 GB, free: 20.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-05/14.54, allocations: 2.719 kB / 4.01 GB, free: 20.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004163/14.54, allocations: 404.6 kB / 4.01 GB, free: 20.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01124/14.56, allocations: 2.674 MB / 4.013 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009181/14.56, allocations: 76.02 kB / 4.013 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/14.57, allocations: 6.923 MB / 4.02 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/14.57, allocations: 0 / 4.02 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03432/14.6, allocations: 9.971 MB / 4.03 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004461/14.61, allocations: 0.8289 MB / 4.03 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/14.61, allocations: 55.92 kB / 4.03 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006657/14.61, allocations: 260.6 kB / 4.031 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/14.62, allocations: 197.1 kB / 4.031 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008386/14.62, allocations: 82.22 kB / 4.031 GB, free: 15.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005181/14.62, allocations: 1.32 MB / 4.032 GB, free: 15.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.094e-06/14.62, allocations: 0 / 4.032 GB, free: 15.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02372/14.65, allocations: 3.082 MB / 4.035 GB, free: 14.96 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.05453/14.7, allocations: 12.87 MB / 4.048 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02679/14.73, allocations: 6.344 MB / 4.054 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/14.73, allocations: 1.188 kB / 4.054 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01163/14.74, allocations: 2.964 MB / 4.057 GB, free: 9.863 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0118/14.75, allocations: 1.082 MB / 4.058 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/14.78, allocations: 8.939 MB / 4.067 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00422/14.79, allocations: 2.585 MB / 4.069 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01135/14.8, allocations: 3.289 MB / 4.072 GB, free: 5.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003221/14.8, allocations: 1.482 MB / 4.074 GB, free: 4.316 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/14.8, allocations: 0 / 4.074 GB, free: 4.316 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8208/15.62, allocations: 143.3 MB / 4.214 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/15.62, allocations: 210.3 kB / 4.214 GB, free: 47.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.685/25.31, allocations: 4.484 kB / 4.214 GB, free: 47.2 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