Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.582/2.582, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.964e-05, allocations: 5.906 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.63/10.79, allocations: 3.17 GB / 3.571 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/10.79, allocations: 77.66 kB / 3.571 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 15.03/25.82, allocations: 3.109 GB / 6.68 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.374e-06/25.82, allocations: 2.25 kB / 6.68 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002687/25.82, allocations: 74.41 kB / 6.68 GB, free: 47.61 MB / 0.5573 GB 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.01776/25.84, allocations: 3.593 MB / 6.684 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/25.84, allocations: 7.938 kB / 6.684 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/25.84, allocations: 343.8 kB / 6.684 GB, free: 45.79 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/25.84, allocations: 313.4 kB / 6.684 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008507/25.85, allocations: 2.075 MB / 6.686 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/25.85, allocations: 226.3 kB / 6.687 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/25.85, allocations: 196.5 kB / 6.687 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009708/25.86, allocations: 3.285 MB / 6.69 GB, free: 44.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.481e-05/25.86, allocations: 6.688 kB / 6.69 GB, free: 44.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004501/25.86, allocations: 96.8 kB / 6.69 GB, free: 44.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003734/25.86, allocations: 197.9 kB / 6.69 GB, free: 44.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/25.87, allocations: 2.99 MB / 6.693 GB, free: 44.61 MB / 0.5573 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.03693/25.91, allocations: 12.45 MB / 6.705 GB, free: 39.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/25.92, allocations: 2.195 MB / 6.707 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/25.92, allocations: 1.339 MB / 6.709 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01403/25.94, allocations: 5.998 MB / 6.715 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/25.94, allocations: 59.34 kB / 6.715 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001628/25.94, allocations: 197.3 kB / 6.715 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 5.7e-06/25.94, allocations: 0 / 6.715 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.0436/25.98, allocations: 8.864 MB / 6.724 GB, free: 33.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/25.98, allocations: 125 kB / 6.724 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/25.98, allocations: 1.654 MB / 6.725 GB, free: 32.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00069/25.99, allocations: 61.27 kB / 6.725 GB, free: 32.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000969/25.99, allocations: 1.048 MB / 6.726 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/25.99, allocations: 0.6802 MB / 6.727 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/25.99, allocations: 47.06 kB / 6.727 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001718/25.99, allocations: 404.6 kB / 6.727 GB, free: 30.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/25.99, allocations: 1.178 MB / 6.729 GB, free: 30.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/25.99, allocations: 1.684 MB / 6.73 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/26, allocations: 1.439 MB / 6.732 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/26, allocations: 5.125 kB / 6.732 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01276/26.01, allocations: 3.815 MB / 6.735 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001356/26.01, allocations: 5.89 MB / 6.741 GB, free: 21.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/26.01, allocations: 17 kB / 6.741 GB, free: 21.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00723/26.02, allocations: 1.151 MB / 6.742 GB, free: 20.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/26.02, allocations: 469.6 kB / 6.743 GB, free: 20.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/26.04, allocations: 10.49 MB / 6.753 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006496/26.05, allocations: 199.6 kB / 6.753 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/26.05, allocations: 114 kB / 6.753 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/26.05, allocations: 6.75 kB / 6.753 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01584/26.06, allocations: 3.411 MB / 6.757 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.408e-05/26.06, allocations: 16 kB / 6.757 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005788/26.07, allocations: 0.8497 MB / 6.757 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/26.08, allocations: 0.4902 MB / 6.758 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/26.09, allocations: 10.19 MB / 6.768 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/26.1, allocations: 194.9 kB / 6.768 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009728/26.1, allocations: 107.7 kB / 6.768 GB, free: 14.39 MB / 0.573 GB 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 (248): * Single equations (assignments): 240 * 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: 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%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001172/26.1, allocations: 236.3 kB / 6.768 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/26.1, allocations: 233.1 kB / 6.769 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/26.12, allocations: 3.883 MB / 6.772 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.02e-05/26.12, allocations: 27.52 kB / 6.772 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/26.12, allocations: 8 kB / 6.772 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01229/26.13, allocations: 3.27 MB / 6.776 GB, free: 7.781 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/26.16, allocations: 6.327 MB / 6.782 GB, free: 2.699 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/26.16, allocations: 0 / 6.782 GB, free: 2.699 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/26.16, allocations: 325.1 kB / 6.782 GB, free: 2.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008254/26.17, allocations: 1.203 MB / 6.783 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008119/26.17, allocations: 69.36 kB / 6.783 GB, free: 1.492 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4951/26.66, allocations: 10.38 MB / 6.794 GB, free: 51.52 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/26.66, allocations: 0 / 6.794 GB, free: 51.52 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/26.68, allocations: 5.125 MB / 6.799 GB, free: 51.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/26.69, allocations: 0.6453 MB / 6.799 GB, free: 51.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/26.69, allocations: 52.97 kB / 6.799 GB, free: 51.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/26.69, allocations: 157 kB / 6.799 GB, free: 51.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008738/26.69, allocations: 170.8 kB / 6.8 GB, free: 51.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000368/26.69, allocations: 82.41 kB / 6.8 GB, free: 51.18 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003558/26.7, allocations: 1.275 MB / 6.801 GB, free: 51.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.92e-07/26.7, allocations: 0 / 6.801 GB, free: 51.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01186/26.71, allocations: 1.985 MB / 6.803 GB, free: 51.02 MB / 0.573 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.02382/26.73, allocations: 6.947 MB / 6.81 GB, free: 50.17 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01945/26.75, allocations: 5.951 MB / 6.815 GB, free: 49.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/26.75, allocations: 0.5625 kB / 6.815 GB, free: 49.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007016/26.76, allocations: 2.164 MB / 6.817 GB, free: 48.56 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008993/26.77, allocations: 0.972 MB / 6.818 GB, free: 48.54 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/26.79, allocations: 5.739 MB / 6.824 GB, free: 47.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/26.79, allocations: 1.935 MB / 6.826 GB, free: 46.78 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008765/26.8, allocations: 1.45 MB / 6.827 GB, free: 46.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/26.8, allocations: 0.9942 MB / 6.828 GB, free: 46.71 MB / 0.573 GB Notification: Performance of SimCode: time 1.583e-06/26.8, allocations: 2.969 kB / 6.828 GB, free: 46.71 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/27.02, allocations: 91 MB / 6.917 GB, free: 40.38 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/27.02, allocations: 202.9 kB / 6.917 GB, free: 40.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/34.36, allocations: 3.5 kB / 6.917 GB, free: 40.15 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat