Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_HeatingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.212/2.212, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.058e-05/4.071e-05, allocations: 7.984 kB / 292.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.861/9.977, allocations: 3.161 GB / 3.496 GB, free: 30 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/9.978, allocations: 76.45 kB / 3.496 GB, free: 29.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.61/25.59, allocations: 3.109 GB / 6.604 GB, free: 46.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/25.59, allocations: 0 / 6.604 GB, free: 46.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000404/25.59, allocations: 67.31 kB / 6.604 GB, free: 46.49 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01993/25.61, allocations: 3.598 MB / 6.608 GB, free: 44.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/25.61, allocations: 8.781 kB / 6.608 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002105/25.61, allocations: 349.2 kB / 6.608 GB, free: 44.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/25.61, allocations: 313.6 kB / 6.609 GB, free: 44.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009832/25.62, allocations: 2.011 MB / 6.611 GB, free: 44.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/25.62, allocations: 217.9 kB / 6.611 GB, free: 43.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/25.62, allocations: 201 kB / 6.611 GB, free: 43.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/25.64, allocations: 3.29 MB / 6.614 GB, free: 43.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/25.64, allocations: 7.281 kB / 6.614 GB, free: 43.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006056/25.64, allocations: 92 kB / 6.614 GB, free: 43.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004143/25.64, allocations: 201.4 kB / 6.615 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/25.65, allocations: 2.994 MB / 6.617 GB, free: 43.48 MB / 490.7 MB 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.03727/25.68, allocations: 12.43 MB / 6.63 GB, free: 38.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/25.69, allocations: 2.19 MB / 6.632 GB, free: 38.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004108/25.7, allocations: 1.332 MB / 6.633 GB, free: 38.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/25.71, allocations: 5.994 MB / 6.639 GB, free: 35.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/25.71, allocations: 61.34 kB / 6.639 GB, free: 35.45 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002053/25.72, allocations: 193.2 kB / 6.639 GB, free: 35.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=172): time 1.122e-05/25.72, allocations: 0 / 6.639 GB, free: 35.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=198): time 0.03201/25.75, allocations: 7.249 MB / 6.646 GB, free: 34.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/25.75, allocations: 132.4 kB / 6.646 GB, free: 34.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/25.75, allocations: 1.649 MB / 6.648 GB, free: 34.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008346/25.75, allocations: 61.98 kB / 6.648 GB, free: 34.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/25.75, allocations: 1.047 MB / 6.649 GB, free: 33.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001458/25.76, allocations: 0.679 MB / 6.65 GB, free: 33.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/25.76, allocations: 46.38 kB / 6.65 GB, free: 33.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002494/25.76, allocations: 406.2 kB / 6.65 GB, free: 32.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/25.76, allocations: 1.177 MB / 6.651 GB, free: 32.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/25.77, allocations: 1.685 MB / 6.653 GB, free: 32.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/25.77, allocations: 1.444 MB / 6.654 GB, free: 32.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/25.77, allocations: 3.219 kB / 6.654 GB, free: 32.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01423/25.78, allocations: 4.094 MB / 6.658 GB, free: 30.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001512/25.79, allocations: 5.89 MB / 6.664 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.087e-05/25.79, allocations: 14.5 kB / 6.664 GB, free: 24.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02493/25.81, allocations: 3.558 MB / 6.668 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/25.81, allocations: 314.8 kB / 6.668 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/25.83, allocations: 3.949 MB / 6.672 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/25.83, allocations: 195.6 kB / 6.672 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009931/25.83, allocations: 109.2 kB / 6.672 GB, free: 22.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/25.83, allocations: 2.969 kB / 6.672 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01209/25.84, allocations: 3.66 MB / 6.676 GB, free: 21.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-05/25.84, allocations: 15.81 kB / 6.676 GB, free: 21.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01879/25.86, allocations: 2.884 MB / 6.678 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/25.87, allocations: 364.7 kB / 6.679 GB, free: 20.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/25.88, allocations: 3.437 MB / 6.682 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/25.88, allocations: 191.6 kB / 6.682 GB, free: 19.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/25.88, allocations: 102.4 kB / 6.682 GB, free: 19.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 107} Notification: Performance of prepare postOptimizeDAE: time 0.001131/25.88, allocations: 232.4 kB / 6.683 GB, free: 18.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/25.89, allocations: 233.6 kB / 6.683 GB, free: 18.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/25.9, allocations: 3.883 MB / 6.687 GB, free: 17.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/25.9, allocations: 25.34 kB / 6.687 GB, free: 17.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/25.9, allocations: 3.75 kB / 6.687 GB, free: 17.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01115/25.91, allocations: 3.286 MB / 6.69 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/25.93, allocations: 6.321 MB / 6.696 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/25.93, allocations: 0 / 6.696 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/25.94, allocations: 317.1 kB / 6.696 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007817/25.95, allocations: 1.202 MB / 6.697 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007862/25.95, allocations: 74.11 kB / 6.698 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/25.96, allocations: 10.4 MB / 6.708 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/25.96, allocations: 0 / 6.708 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/25.97, allocations: 5.12 MB / 6.713 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002985/25.98, allocations: 0.6377 MB / 6.713 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/25.98, allocations: 57.58 kB / 6.713 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004392/25.98, allocations: 162.4 kB / 6.714 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/25.98, allocations: 168.5 kB / 6.714 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004374/25.99, allocations: 82.77 kB / 6.714 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003856/25.99, allocations: 1.275 MB / 6.715 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.422e-06/25.99, allocations: 0 / 6.715 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01239/26, allocations: 1.942 MB / 6.717 GB, free: 12.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.02496/26.03, allocations: 6.943 MB / 6.724 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02099/26.05, allocations: 4.889 MB / 6.728 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/26.05, allocations: 0 / 6.728 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008038/26.06, allocations: 2.175 MB / 6.731 GB, free: 284 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4416/26.5, allocations: 0.9597 MB / 6.732 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/26.52, allocations: 5.711 MB / 6.737 GB, free: 55.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/26.53, allocations: 1.93 MB / 6.739 GB, free: 54.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008231/26.54, allocations: 1.196 MB / 6.74 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/26.54, allocations: 0.9827 MB / 6.741 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/26.54, allocations: 0 / 6.741 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3229/26.86, allocations: 100.1 MB / 6.839 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/26.86, allocations: 167.8 kB / 6.839 GB, free: 41.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/34.39, allocations: 7.938 kB / 6.839 GB, free: 41.06 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem_res.mat does not exist to compare? outputFormat=mat