Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.91e-05, allocations: 11.17 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1443, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.602/8.746, allocations: 2.771 GB / 3.171 GB, free: 94.87 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/8.746, allocations: 87.12 kB / 3.171 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.564/13.31, allocations: 0.8159 GB / 3.987 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.004e-06/13.31, allocations: 0 / 3.987 GB, free: 40.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001827/13.31, allocations: 45.58 kB / 3.987 GB, free: 40.45 MB / 0.5417 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.01406/13.32, allocations: 2.973 MB / 3.99 GB, free: 39.03 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/13.33, allocations: 9.344 kB / 3.99 GB, free: 39.03 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001164/13.33, allocations: 269.6 kB / 3.991 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009891/13.34, allocations: 0.849 MB / 3.991 GB, free: 38.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/13.34, allocations: 1.11 MB / 3.993 GB, free: 38.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/13.34, allocations: 462.6 kB / 3.993 GB, free: 38.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008367/13.34, allocations: 166.4 kB / 3.993 GB, free: 38.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/13.35, allocations: 3.105 MB / 3.996 GB, free: 37.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.353e-05/13.35, allocations: 18.47 kB / 3.996 GB, free: 37.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/13.35, allocations: 84.23 kB / 3.996 GB, free: 37.39 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/13.35, allocations: 91.17 kB / 3.996 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009768/13.36, allocations: 2.507 MB / 3.999 GB, free: 37.32 MB / 0.5417 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.0266/13.39, allocations: 15.73 MB / 4.014 GB, free: 26.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/13.4, allocations: 1.339 MB / 4.015 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/13.4, allocations: 441 kB / 4.016 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/13.4, allocations: 0.6926 MB / 4.017 GB, free: 25.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/13.4, allocations: 49.73 kB / 4.017 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=101): time 4.539e-06/13.4, allocations: 0 / 4.017 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117): time 0.02254/13.42, allocations: 4.551 MB / 4.021 GB, free: 24.13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/13.42, allocations: 163.9 kB / 4.021 GB, free: 23.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/13.42, allocations: 1.26 MB / 4.022 GB, free: 23.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003809/13.42, allocations: 45.55 kB / 4.022 GB, free: 23.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009259/13.43, allocations: 0.9435 MB / 4.023 GB, free: 22.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/13.43, allocations: 416.3 kB / 4.024 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/13.43, allocations: 47.44 kB / 4.024 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001876/13.43, allocations: 403.2 kB / 4.024 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/13.43, allocations: 0.55 MB / 4.025 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/13.43, allocations: 1.776 MB / 4.027 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/13.43, allocations: 0.889 MB / 4.027 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.755e-05/13.43, allocations: 11.78 kB / 4.027 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.007416/13.44, allocations: 2.469 MB / 4.03 GB, free: 18.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/13.44, allocations: 25.5 kB / 4.03 GB, free: 18.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-05/13.44, allocations: 44.38 kB / 4.03 GB, free: 18.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/13.44, allocations: 436.6 kB / 4.03 GB, free: 18.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/13.45, allocations: 0.5211 MB / 4.031 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/13.45, allocations: 2.727 MB / 4.033 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/13.45, allocations: 224.8 kB / 4.034 GB, free: 16.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005273/13.45, allocations: 138.7 kB / 4.034 GB, free: 16.13 MB / 0.5417 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.0006526/13.45, allocations: 295.9 kB / 4.034 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/13.45, allocations: 186.5 kB / 4.034 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008091/13.46, allocations: 4.79 MB / 4.039 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/13.46, allocations: 51.41 kB / 4.039 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/13.46, allocations: 3.031 kB / 4.039 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/13.46, allocations: 5.297 kB / 4.039 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/13.48, allocations: 6.894 MB / 4.046 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/13.48, allocations: 0 / 4.046 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/13.48, allocations: 279.2 kB / 4.046 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/13.48, allocations: 426.6 kB / 4.046 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/13.48, allocations: 36.75 kB / 4.046 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/13.48, allocations: 2.768 MB / 4.049 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/13.48, allocations: 0 / 4.049 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007072/13.49, allocations: 3.907 MB / 4.053 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/13.49, allocations: 0.5554 MB / 4.053 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004988/13.49, allocations: 35.72 kB / 4.054 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/13.49, allocations: 144.4 kB / 4.054 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/13.5, allocations: 104.2 kB / 4.054 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/13.5, allocations: 49.34 kB / 4.054 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002594/13.5, allocations: 1.198 MB / 4.055 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.343e-06/13.5, allocations: 0 / 4.055 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008658/13.51, allocations: 1.496 MB / 4.056 GB, free: 3.559 MB / 0.5417 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.02028/13.53, allocations: 7.094 MB / 4.063 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005693/13.53, allocations: 1.93 MB / 4.065 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/13.53, allocations: 0.625 kB / 4.065 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/13.54, allocations: 1.221 MB / 4.066 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007984/13.54, allocations: 0.8674 MB / 4.067 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/13.56, allocations: 4.531 MB / 4.072 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/13.56, allocations: 1.702 MB / 4.073 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004139/13.57, allocations: 0.9629 MB / 4.074 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/13.57, allocations: 0.9361 MB / 4.075 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.292e-06/13.57, allocations: 4 kB / 4.075 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7852/14.35, allocations: 94.18 MB / 4.167 GB, free: 52.07 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/14.35, allocations: 245.7 kB / 4.167 GB, free: 51.76 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/21.71, allocations: 0 / 4.167 GB, free: 51.76 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat