Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.177/3.177, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.28e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4627, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.89/10.35, allocations: 2.596 GB / 2.942 GB, free: 120.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/10.35, allocations: 85.11 kB / 2.942 GB, free: 120.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.588/15.94, allocations: 0.7962 GB / 3.738 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/15.94, allocations: 3.031 kB / 3.738 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001716/15.94, allocations: 52.67 kB / 3.738 GB, free: 36.41 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01479/15.96, allocations: 2.967 MB / 3.741 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/15.96, allocations: 13 kB / 3.741 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/15.96, allocations: 184.3 kB / 3.742 GB, free: 34.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/15.97, allocations: 0.8482 MB / 3.742 GB, free: 34.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005482/15.97, allocations: 1.141 MB / 3.743 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009382/15.98, allocations: 403.5 kB / 3.744 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/15.98, allocations: 100 kB / 3.744 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01086/15.99, allocations: 1.852 MB / 3.746 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/16, allocations: 2.367 MB / 3.748 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/16, allocations: 14.08 kB / 3.748 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006151/16, allocations: 9.938 kB / 3.748 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/16, allocations: 85.58 kB / 3.748 GB, free: 33.46 MB / 0.4948 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.07568/16.08, allocations: 24.41 MB / 3.772 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/16.08, allocations: 0.6657 MB / 3.773 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/16.08, allocations: 350.8 kB / 3.773 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1017/16.18, allocations: 18.41 MB / 3.791 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.453e-05/16.18, allocations: 45.84 kB / 3.791 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.799e-06/16.18, allocations: 0 / 3.791 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.01948/16.2, allocations: 3.324 MB / 3.794 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/16.2, allocations: 169.3 kB / 3.794 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/16.2, allocations: 0.9996 MB / 3.795 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003157/16.2, allocations: 28.83 kB / 3.795 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009849/16.2, allocations: 0.9891 MB / 3.796 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/16.21, allocations: 389 kB / 3.797 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/16.21, allocations: 3.938 kB / 3.797 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004195/16.21, allocations: 463.7 kB / 3.797 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/16.21, allocations: 499.5 kB / 3.798 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/16.21, allocations: 1.783 MB / 3.799 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/16.21, allocations: 0.8773 MB / 3.8 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.447e-05/16.21, allocations: 14.81 kB / 3.8 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.009375/16.22, allocations: 2.297 MB / 3.803 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/16.22, allocations: 25 kB / 3.803 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.205e-05/16.22, allocations: 48.84 kB / 3.803 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/16.23, allocations: 394.2 kB / 3.803 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/16.23, allocations: 0.5189 MB / 3.803 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/16.23, allocations: 2.776 MB / 3.806 GB, free: 19.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/16.24, allocations: 154.7 kB / 3.806 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006707/16.24, allocations: 144.4 kB / 3.806 GB, free: 19.2 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008903/16.24, allocations: 251.5 kB / 3.807 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/16.24, allocations: 150.7 kB / 3.807 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009155/16.25, allocations: 3.968 MB / 3.811 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/16.25, allocations: 47.75 kB / 3.811 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/16.25, allocations: 0 / 3.811 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/16.25, allocations: 11.08 kB / 3.811 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/16.26, allocations: 5.866 MB / 3.817 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/16.26, allocations: 7.688 kB / 3.817 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/16.27, allocations: 209.1 kB / 3.817 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/16.27, allocations: 386.1 kB / 3.817 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/16.27, allocations: 14.67 kB / 3.817 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/16.27, allocations: 2.872 MB / 3.82 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/16.27, allocations: 7.312 kB / 3.82 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0082/16.28, allocations: 3.553 MB / 3.823 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/16.28, allocations: 432.8 kB / 3.824 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/16.28, allocations: 9.062 kB / 3.824 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/16.29, allocations: 92.84 kB / 3.824 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/16.29, allocations: 94.53 kB / 3.824 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/16.29, allocations: 47.59 kB / 3.824 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001841/16.29, allocations: 0.7356 MB / 3.825 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.42e-07/16.29, allocations: 0 / 3.825 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008822/16.3, allocations: 1.362 MB / 3.826 GB, free: 14.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02213/16.32, allocations: 7.247 MB / 3.833 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005682/16.33, allocations: 1.821 MB / 3.835 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/16.33, allocations: 320 / 3.835 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/16.33, allocations: 1.112 MB / 3.836 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/16.34, allocations: 0.5743 MB / 3.837 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.421/17.76, allocations: 214.5 MB / 4.046 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/17.76, allocations: 1.609 MB / 4.048 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006971/17.77, allocations: 0.9793 MB / 4.049 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/17.77, allocations: 0.817 MB / 4.049 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of SimCode: time 2.415e-06/17.77, allocations: 0 / 4.049 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8904/18.66, allocations: 71.31 MB / 4.119 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003983/18.66, allocations: 190.3 kB / 4.119 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.568/26.23, allocations: 0 / 4.119 GB, free: 49.78 MB / 0.5261 GB