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 2.442/2.442, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.687e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3627, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.037/8.4, allocations: 2.596 GB / 2.942 GB, free: 120.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/8.4, allocations: 80.45 kB / 2.942 GB, free: 120.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.406/12.81, allocations: 0.7951 GB / 3.737 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/12.81, allocations: 0 / 3.737 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000169/12.81, allocations: 55.31 kB / 3.737 GB, free: 36.45 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.01385/12.82, allocations: 2.97 MB / 3.74 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/12.82, allocations: 7 kB / 3.74 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/12.83, allocations: 0.8512 MB / 3.741 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/12.84, allocations: 1.14 MB / 3.742 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/12.84, allocations: 397.4 kB / 3.743 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004927/12.84, allocations: 113.3 kB / 3.743 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005475/12.84, allocations: 1.848 MB / 3.744 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/12.85, allocations: 2.362 MB / 3.747 GB, free: 33.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-05/12.85, allocations: 14.91 kB / 3.747 GB, free: 33.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/12.85, allocations: 13.19 kB / 3.747 GB, free: 33.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/12.85, allocations: 85.92 kB / 3.747 GB, free: 33.54 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.06542/12.91, allocations: 24.39 MB / 3.771 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/12.92, allocations: 0.6678 MB / 3.771 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/12.92, allocations: 353.4 kB / 3.772 GB, free: 18.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08734/13, allocations: 18.41 MB / 3.79 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/13, allocations: 50.09 kB / 3.79 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.018e-06/13, allocations: 3.719 kB / 3.79 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.01591/13.02, allocations: 3.305 MB / 3.793 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/13.02, allocations: 173.3 kB / 3.793 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/13.02, allocations: 1.001 MB / 3.794 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/13.02, allocations: 29.7 kB / 3.794 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008008/13.02, allocations: 0.9963 MB / 3.795 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/13.02, allocations: 384 kB / 3.795 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/13.02, allocations: 0 / 3.795 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003038/13.02, allocations: 455.5 kB / 3.796 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/13.03, allocations: 0.4943 MB / 3.796 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/13.03, allocations: 1.778 MB / 3.798 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/13.03, allocations: 0.8762 MB / 3.799 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-05/13.03, allocations: 20.72 kB / 3.799 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007324/13.04, allocations: 2.297 MB / 3.801 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/13.04, allocations: 27.44 kB / 3.801 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.383e-05/13.04, allocations: 45.12 kB / 3.801 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/13.04, allocations: 394.4 kB / 3.802 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/13.04, allocations: 0.524 MB / 3.802 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/13.05, allocations: 2.773 MB / 3.805 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/13.05, allocations: 165.5 kB / 3.805 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/13.05, allocations: 147.5 kB / 3.805 GB, free: 19.32 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.0006659/13.05, allocations: 246 kB / 3.805 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004548/13.06, allocations: 1.186 MB / 3.807 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/13.06, allocations: 148.9 kB / 3.807 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007517/13.06, allocations: 3.976 MB / 3.811 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/13.06, allocations: 48.72 kB / 3.811 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/13.06, allocations: 0 / 3.811 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/13.06, allocations: 3.516 kB / 3.811 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/13.08, allocations: 5.861 MB / 3.816 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/13.08, allocations: 3.5 kB / 3.816 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/13.08, allocations: 209.2 kB / 3.817 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/13.08, allocations: 387.5 kB / 3.817 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/13.08, allocations: 15.88 kB / 3.817 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/13.08, allocations: 2.873 MB / 3.82 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/13.08, allocations: 6.938 kB / 3.82 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/13.09, allocations: 3.569 MB / 3.823 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/13.09, allocations: 429.7 kB / 3.824 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/13.09, allocations: 9.625 kB / 3.824 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/13.09, allocations: 99.09 kB / 3.824 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/13.09, allocations: 87.97 kB / 3.824 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/13.09, allocations: 45.05 kB / 3.824 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001485/13.1, allocations: 0.7391 MB / 3.825 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/13.1, allocations: 0 / 3.825 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007715/13.1, allocations: 1.359 MB / 3.826 GB, free: 14.07 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.01784/13.12, allocations: 7.245 MB / 3.833 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004808/13.13, allocations: 1.825 MB / 3.835 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/13.13, allocations: 4 kB / 3.835 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/13.13, allocations: 1.108 MB / 3.836 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005513/13.13, allocations: 0.5718 MB / 3.836 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.095/14.23, allocations: 214.3 MB / 4.046 GB, free: 21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/14.23, allocations: 1.619 MB / 4.047 GB, free: 19.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004082/14.24, allocations: 0.9799 MB / 4.048 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/14.24, allocations: 0.8187 MB / 4.049 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/14.24, allocations: 0 / 4.049 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6437/14.88, allocations: 70.11 MB / 4.118 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003266/14.88, allocations: 189.5 kB / 4.118 GB, free: 49.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.239/21.12, allocations: 0 / 4.118 GB, free: 49.85 MB / 0.5261 GB