Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.855e-05, allocations: 8 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09227, allocations: 50.41 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.125/8.218, allocations: 3.161 GB / 3.495 GB, free: 88.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/8.218, allocations: 81.64 kB / 3.495 GB, free: 88.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.91/20.13, allocations: 3.108 GB / 6.604 GB, free: 45.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.163e-06/20.13, allocations: 0.8438 kB / 6.604 GB, free: 45.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002953/20.13, allocations: 75.56 kB / 6.604 GB, free: 45.65 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.01373/20.14, allocations: 3.594 MB / 6.607 GB, free: 43.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/20.14, allocations: 13.34 kB / 6.607 GB, free: 43.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/20.15, allocations: 308.6 kB / 6.608 GB, free: 43.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006678/20.15, allocations: 2.015 MB / 6.61 GB, free: 43.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/20.15, allocations: 219.6 kB / 6.61 GB, free: 43.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009218/20.15, allocations: 198.8 kB / 6.61 GB, free: 43.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008245/20.16, allocations: 3.276 MB / 6.613 GB, free: 42.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.597e-05/20.16, allocations: 8.188 kB / 6.613 GB, free: 42.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004256/20.16, allocations: 90.88 kB / 6.613 GB, free: 42.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003/20.16, allocations: 202.7 kB / 6.613 GB, free: 42.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007495/20.17, allocations: 2.983 MB / 6.616 GB, free: 42.66 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.02612/20.2, allocations: 12.42 MB / 6.628 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005358/20.2, allocations: 2.186 MB / 6.631 GB, free: 35.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/20.21, allocations: 1.345 MB / 6.632 GB, free: 34.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/20.22, allocations: 5.974 MB / 6.638 GB, free: 30.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/20.22, allocations: 59.27 kB / 6.638 GB, free: 30.52 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001415/20.22, allocations: 192.1 kB / 6.638 GB, free: 30.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=172): time 6.964e-06/20.22, allocations: 3.969 kB / 6.638 GB, free: 30.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=198): time 0.02258/20.24, allocations: 7.245 MB / 6.645 GB, free: 27.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/20.24, allocations: 123.3 kB / 6.645 GB, free: 27.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/20.25, allocations: 1.655 MB / 6.647 GB, free: 26.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000504/20.25, allocations: 61.7 kB / 6.647 GB, free: 26.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/20.25, allocations: 0.9626 MB / 6.648 GB, free: 25.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000759/20.25, allocations: 0.6802 MB / 6.648 GB, free: 24.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/20.25, allocations: 47.94 kB / 6.649 GB, free: 24.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/20.25, allocations: 407 kB / 6.649 GB, free: 24.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/20.25, allocations: 1.182 MB / 6.65 GB, free: 23.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/20.25, allocations: 1.688 MB / 6.652 GB, free: 21.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/20.26, allocations: 1.436 MB / 6.653 GB, free: 20.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/20.26, allocations: 7.938 kB / 6.653 GB, free: 20.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.009415/20.27, allocations: 3.976 MB / 6.657 GB, free: 16.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001152/20.27, allocations: 5.658 MB / 6.663 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/20.27, allocations: 12 kB / 6.663 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01795/20.29, allocations: 3.558 MB / 6.666 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/20.29, allocations: 319.5 kB / 6.666 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008745/20.3, allocations: 3.943 MB / 6.67 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/20.3, allocations: 193.3 kB / 6.67 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007099/20.3, allocations: 112 kB / 6.67 GB, free: 2.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/20.3, allocations: 7.594 kB / 6.67 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4031/20.7, allocations: 3.651 MB / 6.674 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/20.7, allocations: 15.31 kB / 6.674 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03721/20.74, allocations: 2.567 MB / 6.677 GB, free: 42.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/20.75, allocations: 364.6 kB / 6.677 GB, free: 42.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03718/20.78, allocations: 3.414 MB / 6.68 GB, free: 41.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/20.79, allocations: 189.3 kB / 6.68 GB, free: 41.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/20.79, allocations: 110.3 kB / 6.681 GB, free: 41.66 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.000703/20.79, allocations: 232.1 kB / 6.681 GB, free: 41.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/20.79, allocations: 226.5 kB / 6.681 GB, free: 41.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/20.8, allocations: 3.886 MB / 6.685 GB, free: 41.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/20.8, allocations: 25.72 kB / 6.685 GB, free: 41.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/20.8, allocations: 6.547 kB / 6.685 GB, free: 41.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008474/20.81, allocations: 3.284 MB / 6.688 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/20.82, allocations: 6.33 MB / 6.694 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/20.82, allocations: 0 / 6.694 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/20.83, allocations: 324.5 kB / 6.694 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005846/20.83, allocations: 1.197 MB / 6.696 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/20.83, allocations: 75.95 kB / 6.696 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009962/20.84, allocations: 10.4 MB / 6.706 GB, free: 32.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-06/20.84, allocations: 0 / 6.706 GB, free: 32.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/20.86, allocations: 5.119 MB / 6.711 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/20.86, allocations: 0.6438 MB / 6.712 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008145/20.86, allocations: 53.38 kB / 6.712 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/20.86, allocations: 156.5 kB / 6.712 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000579/20.86, allocations: 167.5 kB / 6.712 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/20.86, allocations: 82.05 kB / 6.712 GB, free: 31.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002598/20.86, allocations: 1.269 MB / 6.713 GB, free: 31.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.013e-06/20.86, allocations: 4.875 kB / 6.713 GB, free: 31.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007666/20.87, allocations: 1.934 MB / 6.715 GB, free: 31.83 MB / 490.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.004058/20.88, allocations: 1.376 MB / 6.716 GB, free: 31.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01298/20.89, allocations: 4.81 MB / 6.721 GB, free: 31.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.836e-06/20.89, allocations: 3.875 kB / 6.721 GB, free: 31.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005148/20.89, allocations: 2.164 MB / 6.723 GB, free: 31.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00604/20.9, allocations: 0.9595 MB / 6.724 GB, free: 31.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/20.91, allocations: 4.744 MB / 6.729 GB, free: 30.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/20.91, allocations: 1.896 MB / 6.731 GB, free: 29.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/20.91, allocations: 204.2 kB / 6.731 GB, free: 29.36 MB / 490.7 MB Notification: Performance of SimCode: time 2.127e-06/20.91, allocations: 0 / 6.731 GB, free: 29.36 MB / 490.7 MB Notification: Performance of Templates: time 0.1134/21.03, allocations: 87.93 MB / 6.817 GB, free: 11.59 MB / 490.7 MB