Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_HeatingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.173/2.173, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.467e-05, allocations: 7.938 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.18/10.29, allocations: 3.154 GB / 3.464 GB, free: 37.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/10.29, allocations: 76.41 kB / 3.464 GB, free: 36.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.74/26.02, allocations: 3.097 GB / 6.561 GB, free: 44.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.455e-06/26.02, allocations: 0 / 6.561 GB, free: 44.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000495/26.02, allocations: 67.89 kB / 6.561 GB, free: 44.15 MB / 474.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.02017/26.04, allocations: 3.595 MB / 6.565 GB, free: 43.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/26.04, allocations: 9.562 kB / 6.565 GB, free: 43.11 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00217/26.04, allocations: 344.9 kB / 6.565 GB, free: 43.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/26.05, allocations: 310.9 kB / 6.565 GB, free: 42.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009656/26.06, allocations: 2.018 MB / 6.567 GB, free: 42.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/26.06, allocations: 216.4 kB / 6.568 GB, free: 42.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/26.06, allocations: 204 kB / 6.568 GB, free: 42.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/26.07, allocations: 3.292 MB / 6.571 GB, free: 41.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/26.07, allocations: 7.188 kB / 6.571 GB, free: 41.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005022/26.07, allocations: 91.73 kB / 6.571 GB, free: 41.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004873/26.07, allocations: 208.5 kB / 6.571 GB, free: 41.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/26.08, allocations: 2.985 MB / 6.574 GB, free: 41.88 MB / 474.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.03854/26.12, allocations: 12.44 MB / 6.586 GB, free: 36.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007201/26.13, allocations: 2.201 MB / 6.588 GB, free: 36.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/26.13, allocations: 1.342 MB / 6.59 GB, free: 36.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01773/26.15, allocations: 5.985 MB / 6.596 GB, free: 33.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/26.15, allocations: 53.59 kB / 6.596 GB, free: 33.86 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002219/26.15, allocations: 195.3 kB / 6.596 GB, free: 33.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=172): time 1.148e-05/26.15, allocations: 0 / 6.596 GB, free: 33.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=198): time 0.03109/26.19, allocations: 7.241 MB / 6.603 GB, free: 32.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/26.19, allocations: 124 kB / 6.603 GB, free: 32.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/26.19, allocations: 1.657 MB / 6.605 GB, free: 32.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007522/26.19, allocations: 66.61 kB / 6.605 GB, free: 32.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/26.19, allocations: 1.049 MB / 6.606 GB, free: 32.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/26.19, allocations: 0.6773 MB / 6.606 GB, free: 31.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/26.19, allocations: 47.56 kB / 6.606 GB, free: 31.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/26.19, allocations: 399.8 kB / 6.607 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/26.2, allocations: 1.186 MB / 6.608 GB, free: 31.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004404/26.2, allocations: 1.678 MB / 6.61 GB, free: 30.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/26.21, allocations: 1.441 MB / 6.611 GB, free: 30.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/26.21, allocations: 7.406 kB / 6.611 GB, free: 30.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0142/26.22, allocations: 4.093 MB / 6.615 GB, free: 30.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001703/26.22, allocations: 5.885 MB / 6.621 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-05/26.22, allocations: 14.47 kB / 6.621 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02476/26.25, allocations: 3.551 MB / 6.624 GB, free: 24.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/26.25, allocations: 324.9 kB / 6.625 GB, free: 24.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/26.26, allocations: 3.945 MB / 6.628 GB, free: 23.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/26.27, allocations: 194.8 kB / 6.629 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/26.27, allocations: 112.4 kB / 6.629 GB, free: 23.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/26.27, allocations: 3.969 kB / 6.629 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/26.28, allocations: 3.656 MB / 6.632 GB, free: 23.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-05/26.28, allocations: 14.66 kB / 6.632 GB, free: 23.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01854/26.3, allocations: 2.889 MB / 6.635 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/26.3, allocations: 364.3 kB / 6.635 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009585/26.31, allocations: 3.428 MB / 6.639 GB, free: 23.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/26.32, allocations: 188.9 kB / 6.639 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009287/26.32, allocations: 112.6 kB / 6.639 GB, free: 23.05 MB / 474.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.0009794/26.32, allocations: 231.3 kB / 6.639 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008644/26.32, allocations: 229.3 kB / 6.64 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/26.34, allocations: 3.884 MB / 6.643 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/26.34, allocations: 29.56 kB / 6.643 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/26.34, allocations: 7.094 kB / 6.643 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01102/26.35, allocations: 3.276 MB / 6.647 GB, free: 22.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/26.37, allocations: 6.329 MB / 6.653 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/26.37, allocations: 0 / 6.653 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/26.37, allocations: 325.2 kB / 6.653 GB, free: 21.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007995/26.38, allocations: 1.204 MB / 6.654 GB, free: 21.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009297/26.38, allocations: 73.02 kB / 6.654 GB, free: 21.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/26.39, allocations: 10.39 MB / 6.664 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/26.39, allocations: 0 / 6.664 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/26.41, allocations: 5.13 MB / 6.669 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/26.41, allocations: 0.6432 MB / 6.67 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/26.42, allocations: 56.95 kB / 6.67 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004334/26.42, allocations: 152.5 kB / 6.67 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/26.42, allocations: 170.5 kB / 6.67 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004755/26.42, allocations: 83.5 kB / 6.671 GB, free: 9.762 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003502/26.43, allocations: 1.271 MB / 6.672 GB, free: 9.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.403e-06/26.43, allocations: 0 / 6.672 GB, free: 9.246 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01162/26.44, allocations: 1.938 MB / 6.674 GB, free: 8.84 MB / 474.7 MB 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.02375/26.46, allocations: 6.948 MB / 6.68 GB, free: 5.988 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01946/26.48, allocations: 4.892 MB / 6.685 GB, free: 4.484 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/26.48, allocations: 0 / 6.685 GB, free: 4.484 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007473/26.49, allocations: 2.163 MB / 6.687 GB, free: 3.453 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008616/26.5, allocations: 0.9469 MB / 6.688 GB, free: 3.238 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/26.52, allocations: 5.718 MB / 6.694 GB, free: 1.238 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/26.52, allocations: 1.931 MB / 6.696 GB, free: 384 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007413/26.53, allocations: 1.189 MB / 6.697 GB, free: 316 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004741/26.53, allocations: 1.095 MB / 6.698 GB, free: 15.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/26.53, allocations: 0 / 6.698 GB, free: 15.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6689/27.2, allocations: 100 MB / 6.796 GB, free: 45.83 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/27.2, allocations: 183.4 kB / 6.796 GB, free: 45.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/34.29, allocations: 0 / 6.796 GB, free: 45.59 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.HeatingSystem_res.mat does not exist to compare? outputFormat=mat