Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.644/2.644, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.804e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4258, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.116/8.542, allocations: 2.67 GB / 3.022 GB, free: 86.67 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/8.542, allocations: 74.47 kB / 3.022 GB, free: 86.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.497/14.04, allocations: 1.021 GB / 4.043 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.485e-06/14.04, allocations: 4 kB / 4.043 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003413/14.04, allocations: 71.92 kB / 4.043 GB, free: 23.43 MB / 0.5105 GB 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.02236/14.06, allocations: 4.387 MB / 4.047 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/14.06, allocations: 12.03 kB / 4.047 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/14.06, allocations: 419.9 kB / 4.048 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/14.08, allocations: 1.034 MB / 4.049 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009062/14.08, allocations: 2.235 MB / 4.051 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/14.08, allocations: 280.2 kB / 4.051 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/14.09, allocations: 240 kB / 4.051 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/14.1, allocations: 4.436 MB / 4.056 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.828e-05/14.1, allocations: 11.84 kB / 4.056 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005198/14.1, allocations: 104 kB / 4.056 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003761/14.1, allocations: 224.8 kB / 4.056 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/14.12, allocations: 3.991 MB / 4.06 GB, free: 5.781 MB / 0.5105 GB 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.04525/14.16, allocations: 19.05 MB / 4.079 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4788/14.64, allocations: 2.645 MB / 4.081 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004082/14.64, allocations: 1.298 MB / 4.082 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05775/14.7, allocations: 17.06 MB / 4.099 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/14.7, allocations: 55.06 kB / 4.099 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002991/14.7, allocations: 358.9 kB / 4.099 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 1.24e-05/14.7, allocations: 0 / 4.099 GB, free: 30.25 MB / 0.5261 GB 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: radiator.mediums[1].h 4: pipe.mediums[2].h 5: pipe.mediums[2].p 6: pipe.mediums[1].p 7: pipe.mediums[1].h 8: heater.mediums[1].h 9: radiator.mediums[1].p 10: pump.medium.h 11: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 1.066/15.77, allocations: 62.21 MB / 4.16 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5127/16.28, allocations: 86.86 MB / 4.245 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/16.29, allocations: 1.676 MB / 4.247 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/16.29, allocations: 75.39 kB / 4.247 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/16.29, allocations: 1.172 MB / 4.248 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/16.29, allocations: 0.9483 MB / 4.249 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005865/16.29, allocations: 56.19 kB / 4.249 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003051/16.29, allocations: 428.8 kB / 4.249 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007225/16.3, allocations: 2.568 MB / 4.252 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007857/16.31, allocations: 3.114 MB / 4.255 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009871/16.32, allocations: 2.993 MB / 4.258 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-05/16.32, allocations: 4 kB / 4.258 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.03425/16.35, allocations: 8.909 MB / 4.266 GB, free: 0 / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00281/16.36, allocations: 6.088 MB / 4.272 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.322e-05/16.36, allocations: 16 kB / 4.272 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6113/16.97, allocations: 16.93 MB / 4.289 GB, free: 62.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/16.97, allocations: 381 kB / 4.289 GB, free: 62.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04355/17.01, allocations: 10.08 MB / 4.299 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/17.03, allocations: 411.4 kB / 4.3 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/17.03, allocations: 180.8 kB / 4.3 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/17.03, allocations: 3.938 kB / 4.3 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03738/17.07, allocations: 7.935 MB / 4.307 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-05/17.07, allocations: 16 kB / 4.307 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05443/17.12, allocations: 8.876 MB / 4.316 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005323/17.13, allocations: 449.9 kB / 4.317 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03725/17.16, allocations: 9.074 MB / 4.325 GB, free: 60.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/17.17, allocations: 401.1 kB / 4.326 GB, free: 60.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001755/17.18, allocations: 174.5 kB / 4.326 GB, free: 60.04 MB / 0.5573 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.002592/17.18, allocations: 272.2 kB / 4.326 GB, free: 59.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/17.18, allocations: 255.8 kB / 4.326 GB, free: 59.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05826/17.24, allocations: 17.22 MB / 4.343 GB, free: 59.33 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003044/17.24, allocations: 117.2 kB / 4.343 GB, free: 59.33 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/17.24, allocations: 0 / 4.343 GB, free: 59.33 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0497/17.29, allocations: 15.39 MB / 4.358 GB, free: 58.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07909/17.37, allocations: 27.23 MB / 4.385 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-05/17.37, allocations: 2.5 kB / 4.385 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/17.37, allocations: 234.3 kB / 4.385 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1228/17.49, allocations: 26.47 MB / 4.411 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/17.49, allocations: 100.8 kB / 4.411 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03603/17.53, allocations: 15.51 MB / 4.426 GB, free: 44.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.9678/18.5, allocations: 145 MB / 4.568 GB, free: 68.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04816/18.55, allocations: 22.46 MB / 4.59 GB, free: 60.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004472/18.55, allocations: 1.15 MB / 4.591 GB, free: 59.61 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/18.55, allocations: 57.69 kB / 4.591 GB, free: 59.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008074/18.56, allocations: 445.1 kB / 4.591 GB, free: 59.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001332/18.56, allocations: 261 kB / 4.592 GB, free: 59.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006235/18.56, allocations: 136 kB / 4.592 GB, free: 59.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003223/18.57, allocations: 1.325 MB / 4.593 GB, free: 58.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.222e-06/18.57, allocations: 0 / 4.593 GB, free: 58.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03852/18.6, allocations: 7.232 MB / 4.6 GB, free: 58.32 MB / 0.573 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,$cse116.phase,$cse116.region,$cse117.phase,$cse117.region,$cse118.region3boundary,$cse119.region3boundary,$cse120.phase,$cse120.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.0964/18.7, allocations: 25.05 MB / 4.625 GB, free: 48.35 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04588/18.75, allocations: 11.78 MB / 4.636 GB, free: 44.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.82e-05/18.75, allocations: 0 / 4.636 GB, free: 44.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01944/18.77, allocations: 5.663 MB / 4.642 GB, free: 42.01 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/18.78, allocations: 1.065 MB / 4.643 GB, free: 41.79 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04818/18.83, allocations: 14.05 MB / 4.656 GB, free: 35.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004132/18.83, allocations: 3.025 MB / 4.659 GB, free: 34.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01022/18.84, allocations: 2.119 MB / 4.661 GB, free: 32.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004811/18.84, allocations: 1.644 MB / 4.663 GB, free: 31.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.333e-06/18.84, allocations: 0.6562 kB / 4.663 GB, free: 31.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.718/20.56, allocations: 352.9 MB / 5.008 GB, free: 93.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/20.56, allocations: 196.3 kB / 5.008 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.32/51.88, allocations: 0 / 5.008 GB, free: 93.32 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat