Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 270 MB / 282.7 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.459e-05, allocations: 7.938 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 61.86 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.852/8.178, allocations: 3.17 GB / 3.57 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/8.178, allocations: 77 kB / 3.57 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.6/19.78, allocations: 3.108 GB / 6.678 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.041e-06/19.78, allocations: 0 / 6.678 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002884/19.78, allocations: 68.88 kB / 6.678 GB, free: 54.63 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.01357/19.79, allocations: 3.583 MB / 6.681 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/19.79, allocations: 17.53 kB / 6.681 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/19.79, allocations: 312.2 kB / 6.681 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00688/19.8, allocations: 2.064 MB / 6.683 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/19.8, allocations: 225.5 kB / 6.684 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009214/19.8, allocations: 184.7 kB / 6.684 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008109/19.81, allocations: 3.259 MB / 6.687 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-05/19.81, allocations: 5.781 kB / 6.687 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/19.81, allocations: 84.27 kB / 6.687 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/19.81, allocations: 210.2 kB / 6.687 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007914/19.82, allocations: 2.974 MB / 6.69 GB, free: 51.7 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.02764/19.84, allocations: 12.46 MB / 6.702 GB, free: 46.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/19.85, allocations: 2.206 MB / 6.705 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/19.85, allocations: 1.164 MB / 6.706 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/19.86, allocations: 5.751 MB / 6.711 GB, free: 43.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/19.86, allocations: 54.89 kB / 6.711 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001482/19.87, allocations: 250.7 kB / 6.712 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 5.649e-06/19.87, allocations: 0 / 6.712 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260): time 0.5606/20.43, allocations: 48.09 MB / 6.759 GB, free: 40.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1402/20.57, allocations: 36.47 MB / 6.794 GB, free: 20.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/20.57, allocations: 1.67 MB / 6.796 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007017/20.57, allocations: 72.64 kB / 6.796 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000642/20.57, allocations: 0.986 MB / 6.797 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/20.57, allocations: 0.8791 MB / 6.798 GB, free: 17.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/20.57, allocations: 56 kB / 6.798 GB, free: 17.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001745/20.57, allocations: 422.2 kB / 6.798 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/20.58, allocations: 2.085 MB / 6.8 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/20.58, allocations: 2.64 MB / 6.803 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/20.59, allocations: 2.528 MB / 6.805 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/20.59, allocations: 4 kB / 6.805 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01736/20.61, allocations: 6.955 MB / 6.812 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002474/20.61, allocations: 6.18 MB / 6.818 GB, free: 12.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-05/20.61, allocations: 19.95 kB / 6.818 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06067/20.67, allocations: 11.61 MB / 6.829 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/20.67, allocations: 356.7 kB / 6.83 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4002/21.07, allocations: 8.19 MB / 6.838 GB, free: 63.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005761/21.08, allocations: 298.5 kB / 6.838 GB, free: 63.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/21.08, allocations: 155.4 kB / 6.838 GB, free: 63.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/21.08, allocations: 4.375 kB / 6.838 GB, free: 63.38 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01769/21.1, allocations: 6.639 MB / 6.845 GB, free: 63.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/21.1, allocations: 18.47 kB / 6.845 GB, free: 63.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02848/21.13, allocations: 6.777 MB / 6.851 GB, free: 63.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/21.13, allocations: 399.6 kB / 6.852 GB, free: 63.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/21.15, allocations: 7.68 MB / 6.859 GB, free: 62.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/21.15, allocations: 286.4 kB / 6.859 GB, free: 62.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000946/21.15, allocations: 154.3 kB / 6.86 GB, free: 62.13 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (165): * Single equations (assignments): 163 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,18 78} Notification: Performance of prepare postOptimizeDAE: time 0.001189/21.15, allocations: 247.9 kB / 6.86 GB, free: 62.03 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008855/21.15, allocations: 252.1 kB / 6.86 GB, free: 62.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/21.18, allocations: 7.778 MB / 6.868 GB, free: 61.85 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-05/21.18, allocations: 36.41 kB / 6.868 GB, free: 61.85 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.948e-06/21.18, allocations: 2.562 kB / 6.868 GB, free: 61.85 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01797/21.19, allocations: 6.799 MB / 6.874 GB, free: 61.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03396/21.23, allocations: 13.67 MB / 6.888 GB, free: 60.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.849e-05/21.23, allocations: 3.656 kB / 6.888 GB, free: 60.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/21.23, allocations: 194.8 kB / 6.888 GB, free: 60.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05807/21.29, allocations: 11.32 MB / 6.899 GB, free: 60.14 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007647/21.29, allocations: 91.14 kB / 6.899 GB, free: 60.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/21.31, allocations: 8.057 MB / 6.907 GB, free: 59.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1552/21.46, allocations: 38.46 MB / 6.944 GB, free: 50.35 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02295/21.49, allocations: 10.1 MB / 6.954 GB, free: 46.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002844/21.49, allocations: 0.871 MB / 6.955 GB, free: 45.81 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/21.49, allocations: 52.09 kB / 6.955 GB, free: 45.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004233/21.49, allocations: 272.2 kB / 6.956 GB, free: 45.73 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006728/21.49, allocations: 201 kB / 6.956 GB, free: 45.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005048/21.49, allocations: 119.7 kB / 6.956 GB, free: 45.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002526/21.5, allocations: 1.287 MB / 6.957 GB, free: 45.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.04e-07/21.5, allocations: 0 / 6.957 GB, free: 45.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01547/21.51, allocations: 3.562 MB / 6.961 GB, free: 44.92 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 77,19 107} Notification: Performance of Backend phase and start with SimCode phase: time 0.01223/21.53, allocations: 2.557 MB / 6.963 GB, free: 44.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02927/21.55, allocations: 8.723 MB / 6.972 GB, free: 41.85 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/21.55, allocations: 0 / 6.972 GB, free: 41.85 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01216/21.57, allocations: 3.145 MB / 6.975 GB, free: 40.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006362/21.57, allocations: 0.9486 MB / 6.976 GB, free: 40.68 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/21.59, allocations: 6.389 MB / 6.982 GB, free: 37.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/21.59, allocations: 2.082 MB / 6.984 GB, free: 37.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/21.59, allocations: 240.7 kB / 6.984 GB, free: 37.06 MB / 0.573 GB Notification: Performance of SimCode: time 2.082e-06/21.59, allocations: 0 / 6.984 GB, free: 37.06 MB / 0.573 GB Notification: Performance of Templates: time 0.5633/22.16, allocations: 122.2 MB / 7.103 GB, free: 72.57 MB / 0.5886 GB