Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.559/2.559, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.657e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4578, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.388/8.846, allocations: 2.765 GB / 3.139 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/8.847, allocations: 85.3 kB / 3.139 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.385/13.23, allocations: 0.8076 GB / 3.946 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/13.23, allocations: 2.375 kB / 3.946 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001741/13.23, allocations: 48.94 kB / 3.946 GB, free: 40.69 MB / 0.5261 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.01362/13.25, allocations: 2.963 MB / 3.949 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/13.25, allocations: 7.125 kB / 3.949 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009467/13.25, allocations: 258.7 kB / 3.95 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009933/13.26, allocations: 0.8602 MB / 3.95 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/13.26, allocations: 1.111 MB / 3.952 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/13.26, allocations: 459.7 kB / 3.952 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007002/13.26, allocations: 165.1 kB / 3.952 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/13.27, allocations: 3.107 MB / 3.955 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-05/13.27, allocations: 22.16 kB / 3.955 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/13.27, allocations: 82.53 kB / 3.955 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/13.27, allocations: 87.53 kB / 3.955 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009485/13.28, allocations: 2.516 MB / 3.958 GB, free: 37.82 MB / 0.5261 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.02647/13.31, allocations: 15.73 MB / 3.973 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00533/13.31, allocations: 1.333 MB / 3.974 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/13.32, allocations: 440.7 kB / 3.975 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/13.32, allocations: 0.688 MB / 3.976 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/13.32, allocations: 53.62 kB / 3.976 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=101): time 3.476e-06/13.32, allocations: 0.75 kB / 3.976 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117): time 0.03061/13.35, allocations: 4.531 MB / 3.98 GB, free: 25.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/13.35, allocations: 167.3 kB / 3.98 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/13.35, allocations: 1.263 MB / 3.981 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000459/13.35, allocations: 49.17 kB / 3.981 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/13.36, allocations: 0.94 MB / 3.982 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/13.36, allocations: 416.3 kB / 3.983 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/13.36, allocations: 44.62 kB / 3.983 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001512/13.36, allocations: 397.8 kB / 3.983 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/13.36, allocations: 0.5551 MB / 3.984 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/13.36, allocations: 1.777 MB / 3.985 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/13.37, allocations: 0.8973 MB / 3.986 GB, free: 22.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/13.37, allocations: 19.14 kB / 3.986 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01128/13.38, allocations: 2.464 MB / 3.989 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/13.38, allocations: 22.34 kB / 3.989 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.196e-05/13.38, allocations: 44.31 kB / 3.989 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/13.38, allocations: 439.8 kB / 3.989 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/13.39, allocations: 0.5222 MB / 3.99 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/13.39, allocations: 2.728 MB / 3.992 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005832/13.4, allocations: 229.7 kB / 3.993 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008162/13.4, allocations: 142.8 kB / 3.993 GB, free: 20.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.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],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],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 (265): * Single equations (assignments): 261 * 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 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009441/13.4, allocations: 291.2 kB / 3.993 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/13.4, allocations: 173.4 kB / 3.993 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/13.41, allocations: 4.8 MB / 3.998 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.791e-05/13.41, allocations: 49.28 kB / 3.998 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/13.41, allocations: 0 / 3.998 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/13.41, allocations: 8.984 kB / 3.998 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/13.43, allocations: 6.881 MB / 4.005 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/13.43, allocations: 3.531 kB / 4.005 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/13.43, allocations: 279.5 kB / 4.005 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/13.44, allocations: 434 kB / 4.005 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/13.44, allocations: 38.81 kB / 4.005 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/13.44, allocations: 2.765 MB / 4.008 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/13.44, allocations: 1.312 kB / 4.008 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/13.45, allocations: 3.905 MB / 4.012 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/13.45, allocations: 0.5579 MB / 4.012 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000895/13.45, allocations: 20.94 kB / 4.012 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/13.46, allocations: 151.7 kB / 4.013 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/13.46, allocations: 114.1 kB / 4.013 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/13.46, allocations: 46.84 kB / 4.013 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00393/13.46, allocations: 1.194 MB / 4.014 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.263e-06/13.46, allocations: 0 / 4.014 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01118/13.47, allocations: 1.497 MB / 4.015 GB, free: 15.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.02616/13.5, allocations: 7.078 MB / 4.022 GB, free: 29.07 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.007613/13.51, allocations: 1.929 MB / 4.024 GB, free: 28.93 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/13.51, allocations: 0.625 kB / 4.024 GB, free: 28.93 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004393/13.51, allocations: 1.223 MB / 4.025 GB, free: 28.88 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/13.52, allocations: 0.8669 MB / 4.026 GB, free: 28.85 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/13.54, allocations: 4.535 MB / 4.031 GB, free: 27.74 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/13.55, allocations: 1.696 MB / 4.032 GB, free: 27 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.005629/13.55, allocations: 0.9651 MB / 4.033 GB, free: 26.97 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/13.56, allocations: 0.9352 MB / 4.034 GB, free: 26.96 MB / 0.5418 GB Notification: Performance of SimCode: time 2.404e-06/13.56, allocations: 0 / 4.034 GB, free: 26.96 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6713/14.23, allocations: 93.97 MB / 4.126 GB, free: 68.08 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/14.23, allocations: 234.3 kB / 4.126 GB, free: 67.77 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/20.99, allocations: 0 / 4.126 GB, free: 67.77 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat