Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.842e-05, allocations: 7.375 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.944/8.055, allocations: 2.56 GB / 2.874 GB, free: 11.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/8.055, allocations: 81.12 kB / 2.874 GB, free: 11.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.403/13.46, allocations: 0.9956 GB / 3.87 GB, free: 24.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.307e-06/13.46, allocations: 5.281 kB / 3.87 GB, free: 24.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000443/13.46, allocations: 68.36 kB / 3.87 GB, free: 24.24 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.0229/13.48, allocations: 4.261 MB / 3.874 GB, free: 22.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/13.48, allocations: 12.81 kB / 3.874 GB, free: 22.2 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002204/13.48, allocations: 422.8 kB / 3.874 GB, free: 22.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/13.5, allocations: 0.9824 MB / 3.875 GB, free: 21.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/13.51, allocations: 2.249 MB / 3.877 GB, free: 21.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005072/13.51, allocations: 283.1 kB / 3.878 GB, free: 21.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/13.51, allocations: 238.3 kB / 3.878 GB, free: 21.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/13.52, allocations: 4.456 MB / 3.882 GB, free: 20.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/13.52, allocations: 7.781 kB / 3.882 GB, free: 20.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000519/13.52, allocations: 106.5 kB / 3.882 GB, free: 20.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003959/13.52, allocations: 223.7 kB / 3.883 GB, free: 20.69 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/13.54, allocations: 4.043 MB / 3.886 GB, free: 20.62 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.03895/13.58, allocations: 19.05 MB / 3.905 GB, free: 9.535 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008507/13.59, allocations: 2.664 MB / 3.908 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/13.59, allocations: 1.3 MB / 3.909 GB, free: 8.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05249/13.64, allocations: 17.06 MB / 3.926 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/13.64, allocations: 58.16 kB / 3.926 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002498/13.64, allocations: 358.4 kB / 3.926 GB, free: 13.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 5.6e-06/13.64, allocations: 0 / 3.926 GB, free: 13.11 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: pipe.mediums[2].p 4: pipe.mediums[1].p 5: radiator.mediums[1].p 6: pump.medium.h 7: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 1.486/15.13, allocations: 62.22 MB / 3.987 GB, free: 36.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4676/15.6, allocations: 86.95 MB / 4.072 GB, free: 19.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/15.6, allocations: 1.674 MB / 4.073 GB, free: 18.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009746/15.6, allocations: 76.58 kB / 4.073 GB, free: 18.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/15.6, allocations: 1.178 MB / 4.075 GB, free: 17.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/15.6, allocations: 0.9357 MB / 4.075 GB, free: 17.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/15.61, allocations: 62.09 kB / 4.076 GB, free: 17.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/15.61, allocations: 430.1 kB / 4.076 GB, free: 16.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006358/15.61, allocations: 2.563 MB / 4.078 GB, free: 15.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007076/15.62, allocations: 3.133 MB / 4.081 GB, free: 13.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009074/15.63, allocations: 2.995 MB / 4.084 GB, free: 11.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-05/15.63, allocations: 4 kB / 4.084 GB, free: 11.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02478/15.65, allocations: 8.643 MB / 4.093 GB, free: 7.387 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001313/15.65, allocations: 6.077 MB / 4.099 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.804e-05/15.65, allocations: 16 kB / 4.099 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1252/15.78, allocations: 16.53 MB / 4.115 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/15.78, allocations: 379.1 kB / 4.115 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03216/15.81, allocations: 10.07 MB / 4.125 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008506/15.82, allocations: 410.5 kB / 4.126 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/15.82, allocations: 173 kB / 4.126 GB, free: 64 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/15.82, allocations: 7.234 kB / 4.126 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03131/15.86, allocations: 8.515 MB / 4.134 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/15.86, allocations: 25.88 kB / 4.134 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4701/16.33, allocations: 8.858 MB / 4.143 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/16.33, allocations: 441.7 kB / 4.143 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/16.36, allocations: 9.064 MB / 4.152 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008193/16.37, allocations: 401.5 kB / 4.152 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/16.37, allocations: 177.1 kB / 4.153 GB, free: 64.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001534/16.37, allocations: 263.3 kB / 4.153 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/16.37, allocations: 263 kB / 4.153 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03902/16.41, allocations: 17.22 MB / 4.17 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001703/16.41, allocations: 116.4 kB / 4.17 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/16.41, allocations: 0 / 4.17 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03245/16.44, allocations: 15.42 MB / 4.185 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06166/16.5, allocations: 27.18 MB / 4.212 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.629e-05/16.5, allocations: 0.5625 kB / 4.212 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/16.51, allocations: 236.4 kB / 4.212 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1221/16.63, allocations: 26.61 MB / 4.238 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009933/16.63, allocations: 108.2 kB / 4.238 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03531/16.67, allocations: 15.48 MB / 4.253 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.907/17.57, allocations: 144.6 MB / 4.394 GB, free: 53.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04746/17.62, allocations: 22.35 MB / 4.416 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004324/17.62, allocations: 1.155 MB / 4.417 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/17.63, allocations: 61.19 kB / 4.417 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007958/17.63, allocations: 431.7 kB / 4.418 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001615/17.64, allocations: 265.9 kB / 4.418 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009407/17.64, allocations: 138 kB / 4.418 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003636/17.64, allocations: 1.324 MB / 4.419 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.535e-06/17.64, allocations: 3.469 kB / 4.419 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03703/17.68, allocations: 7.192 MB / 4.426 GB, free: 41.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse105.phase,$cse105.region,$cse106.phase,$cse106.region,$cse107.region3boundary,$cse108.region3boundary,$cse109.phase,$cse109.region,$cse119.phase,$cse119.region,$cse120.phase,$cse120.region,$cse121.region3boundary,$cse122.region3boundary,$cse123.phase,$cse123.region,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.phase,$cse132.region,$cse133.region3boundary,$cse134.region3boundary,$cse135.phase,$cse135.region,$cse136.region3boundary,$cse137.region3boundary,$cse138.phase,$cse138.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 (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.0933/17.77, allocations: 24.95 MB / 4.451 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04428/17.82, allocations: 11.86 MB / 4.462 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/17.82, allocations: 0 / 4.462 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01927/17.83, allocations: 5.683 MB / 4.468 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/17.84, allocations: 1.077 MB / 4.469 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04635/17.89, allocations: 14.39 MB / 4.483 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004232/17.9, allocations: 3.024 MB / 4.486 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01001/17.91, allocations: 2.12 MB / 4.488 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005275/17.91, allocations: 1.642 MB / 4.49 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of SimCode: time 2.795e-06/17.91, allocations: 0 / 4.49 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.593/19.5, allocations: 350.9 MB / 4.832 GB, free: 60.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/19.5, allocations: 199.3 kB / 4.832 GB, free: 60.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.49/50, allocations: 2.469 kB / 4.832 GB, free: 60.15 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat