Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 270 MB / 282.7 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.108e-05, allocations: 4 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3309, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.527/7.858, allocations: 3.17 GB / 3.57 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/7.858, allocations: 75.97 kB / 3.57 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.94/19.8, allocations: 3.109 GB / 6.679 GB, free: 35.44 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.753e-06/19.8, allocations: 0 / 6.679 GB, free: 35.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002517/19.8, allocations: 67.92 kB / 6.679 GB, free: 35.38 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.01319/19.81, allocations: 3.602 MB / 6.682 GB, free: 32.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/19.81, allocations: 11.97 kB / 6.682 GB, free: 32.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/19.81, allocations: 311.9 kB / 6.683 GB, free: 31.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/19.82, allocations: 2.081 MB / 6.685 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/19.82, allocations: 219 kB / 6.685 GB, free: 29.83 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007763/19.82, allocations: 199.9 kB / 6.685 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007227/19.83, allocations: 3.271 MB / 6.688 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.392e-05/19.83, allocations: 7.938 kB / 6.688 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/19.83, allocations: 83.97 kB / 6.688 GB, free: 26.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/19.83, allocations: 203.6 kB / 6.688 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/19.83, allocations: 2.989 MB / 6.691 GB, free: 23.8 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.02553/19.86, allocations: 12.44 MB / 6.704 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/19.86, allocations: 2.187 MB / 6.706 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/19.87, allocations: 1.341 MB / 6.707 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/19.88, allocations: 6.004 MB / 6.713 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/19.88, allocations: 52.56 kB / 6.713 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/19.88, allocations: 190 kB / 6.713 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 5.841e-06/19.88, allocations: 4 kB / 6.713 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.4128/20.29, allocations: 8.853 MB / 6.722 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/20.29, allocations: 129.7 kB / 6.722 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/20.3, allocations: 1.654 MB / 6.723 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005829/20.3, allocations: 62.61 kB / 6.724 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000889/20.3, allocations: 0.9623 MB / 6.724 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/20.3, allocations: 0.6797 MB / 6.725 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/20.3, allocations: 46.03 kB / 6.725 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002176/20.3, allocations: 401.2 kB / 6.726 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/20.3, allocations: 1.183 MB / 6.727 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/20.31, allocations: 1.68 MB / 6.728 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/20.31, allocations: 1.436 MB / 6.73 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/20.31, allocations: 11.69 kB / 6.73 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01042/20.32, allocations: 3.68 MB / 6.733 GB, free: 47.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001181/20.32, allocations: 5.665 MB / 6.739 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.644e-05/20.32, allocations: 12.91 kB / 6.739 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/20.33, allocations: 1.15 MB / 6.74 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/20.33, allocations: 472.4 kB / 6.74 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/20.34, allocations: 10.49 MB / 6.751 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/20.35, allocations: 198.1 kB / 6.751 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007172/20.35, allocations: 111.2 kB / 6.751 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/20.35, allocations: 3.875 kB / 6.751 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009191/20.36, allocations: 3.41 MB / 6.754 GB, free: 33.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/20.36, allocations: 15.53 kB / 6.754 GB, free: 33.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/20.36, allocations: 0.8217 MB / 6.755 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/20.36, allocations: 0.4923 MB / 6.756 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/20.38, allocations: 10.17 MB / 6.766 GB, free: 41.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/20.38, allocations: 196.2 kB / 6.766 GB, free: 41.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005337/20.38, allocations: 107.5 kB / 6.766 GB, free: 41.56 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.0008152/20.38, allocations: 238.4 kB / 6.766 GB, free: 41.44 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007051/20.38, allocations: 231.7 kB / 6.766 GB, free: 41.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/20.39, allocations: 3.882 MB / 6.77 GB, free: 41.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/20.39, allocations: 27.27 kB / 6.77 GB, free: 41.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/20.39, allocations: 6.406 kB / 6.77 GB, free: 41.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008078/20.4, allocations: 3.286 MB / 6.773 GB, free: 40.63 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/20.41, allocations: 6.316 MB / 6.78 GB, free: 40.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/20.42, allocations: 0 / 6.78 GB, free: 40.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/20.42, allocations: 326.9 kB / 6.78 GB, free: 40.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006461/20.42, allocations: 1.205 MB / 6.781 GB, free: 40.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005814/20.42, allocations: 75.69 kB / 6.781 GB, free: 40.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/20.44, allocations: 10.4 MB / 6.791 GB, free: 32.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.285e-06/20.44, allocations: 3.5 kB / 6.791 GB, free: 32.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/20.45, allocations: 5.12 MB / 6.796 GB, free: 31.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/20.45, allocations: 0.6373 MB / 6.797 GB, free: 31.51 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000912/20.45, allocations: 56.59 kB / 6.797 GB, free: 31.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/20.46, allocations: 151.9 kB / 6.797 GB, free: 31.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006924/20.46, allocations: 167.7 kB / 6.797 GB, free: 31.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003477/20.46, allocations: 83.89 kB / 6.797 GB, free: 31.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002822/20.46, allocations: 1.269 MB / 6.799 GB, free: 31.34 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.59e-07/20.46, allocations: 0 / 6.799 GB, free: 31.34 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009281/20.47, allocations: 1.98 MB / 6.8 GB, free: 31.26 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.004372/20.47, allocations: 1.388 MB / 6.802 GB, free: 31.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01464/20.49, allocations: 5.871 MB / 6.808 GB, free: 29.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.734e-06/20.49, allocations: 0 / 6.808 GB, free: 29.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005703/20.49, allocations: 2.162 MB / 6.81 GB, free: 29.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/20.5, allocations: 0.9668 MB / 6.811 GB, free: 29.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/20.51, allocations: 4.754 MB / 6.815 GB, free: 28.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/20.51, allocations: 1.909 MB / 6.817 GB, free: 27.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/20.52, allocations: 231.2 kB / 6.817 GB, free: 27.74 MB / 0.573 GB Notification: Performance of SimCode: time 2.661e-06/20.52, allocations: 0 / 6.817 GB, free: 27.74 MB / 0.573 GB Notification: Performance of Templates: time 0.5294/21.04, allocations: 120.8 MB / 6.935 GB, free: 78.12 MB / 0.5886 GB