Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadModel(ThermoPower): time 2.186/2.186, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.949e-05, allocations: 4 kB / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 60.23 MB / 391 MB, free: 4.754 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.166/7.489, allocations: 3.007 GB / 3.389 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/7.489, allocations: 81.3 kB / 3.389 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.842/9.331, allocations: 461.4 MB / 3.839 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/9.331, allocations: 0 / 3.839 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.972e-05/9.331, allocations: 17.8 kB / 3.839 GB, free: 45.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004538/9.336, allocations: 1.247 MB / 3.841 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/9.336, allocations: 11.34 kB / 3.841 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007149/9.337, allocations: 132 kB / 3.841 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/9.338, allocations: 469.7 kB / 3.841 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/9.338, allocations: 36.66 kB / 3.841 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/9.338, allocations: 50.09 kB / 3.841 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/9.34, allocations: 0.7725 MB / 3.842 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/9.34, allocations: 0 / 3.842 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/9.34, allocations: 23.94 kB / 3.842 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/9.34, allocations: 15.86 kB / 3.842 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/9.341, allocations: 0.5003 MB / 3.843 GB, free: 43.36 MB / 0.5105 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.002902/9.344, allocations: 2.646 MB / 3.845 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/9.346, allocations: 0.5657 MB / 3.846 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/9.346, allocations: 125.6 kB / 3.846 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06305/9.409, allocations: 31.97 MB / 3.877 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/9.409, allocations: 38.56 kB / 3.877 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.602e-06/9.409, allocations: 0 / 3.877 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.005846/9.415, allocations: 1.547 MB / 3.879 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/9.415, allocations: 110.8 kB / 3.879 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/9.416, allocations: 396.8 kB / 3.879 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/9.416, allocations: 33.64 kB / 3.879 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/9.416, allocations: 268.2 kB / 3.879 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/9.416, allocations: 113.4 kB / 3.879 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/9.416, allocations: 8 kB / 3.879 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/9.416, allocations: 366.8 kB / 3.88 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/9.416, allocations: 144 kB / 3.88 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/9.417, allocations: 206.8 kB / 3.88 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/9.417, allocations: 155.9 kB / 3.88 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.868e-06/9.417, allocations: 32 / 3.88 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002114/9.419, allocations: 0.7166 MB / 3.881 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/9.419, allocations: 0.5255 MB / 3.882 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.31e-06/9.419, allocations: 4 kB / 3.882 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/9.422, allocations: 497 kB / 3.882 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/9.422, allocations: 35.92 kB / 3.882 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/9.424, allocations: 1.495 MB / 3.883 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/9.424, allocations: 55.84 kB / 3.884 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/9.425, allocations: 27.97 kB / 3.884 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/9.425, allocations: 6.031 kB / 3.884 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001761/9.426, allocations: 0.5869 MB / 3.884 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.089e-06/9.426, allocations: 8.156 kB / 3.884 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/9.428, allocations: 424.5 kB / 3.885 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/9.428, allocations: 47.91 kB / 3.885 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/9.431, allocations: 1.437 MB / 3.886 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/9.431, allocations: 52.11 kB / 3.886 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/9.431, allocations: 19.98 kB / 3.886 GB, free: 15.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001998/9.432, allocations: 128.9 kB / 3.886 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/9.432, allocations: 63.38 kB / 3.886 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/9.437, allocations: 3.328 MB / 3.89 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/9.437, allocations: 11.98 kB / 3.89 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.432e-06/9.437, allocations: 0 / 3.89 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.419e-06/9.437, allocations: 4 kB / 3.89 GB, free: 11.88 MB / 0.5261 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 postOpt removeSimpleEquations (simulation): time 0.007616/9.445, allocations: 4.814 MB / 3.894 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/9.445, allocations: 11.94 kB / 3.894 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/9.445, allocations: 47.97 kB / 3.894 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003898/9.449, allocations: 1.515 MB / 3.896 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/9.449, allocations: 12 kB / 3.896 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/9.454, allocations: 2.738 MB / 3.898 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-06/9.454, allocations: 0 / 3.898 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3297/9.783, allocations: 4.357 MB / 3.903 GB, free: 77.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/9.784, allocations: 136.7 kB / 3.903 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/9.784, allocations: 9.656 kB / 3.903 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/9.785, allocations: 54.69 kB / 3.903 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/9.785, allocations: 26.36 kB / 3.903 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/9.785, allocations: 10.41 kB / 3.903 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000449/9.785, allocations: 311 kB / 3.903 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.17e-06/9.785, allocations: 0 / 3.903 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004682/9.79, allocations: 1.046 MB / 3.904 GB, free: 77.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007432/9.797, allocations: 1.513 MB / 3.906 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002701/9.8, allocations: 0.7774 MB / 3.906 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.419e-06/9.8, allocations: 5.344 kB / 3.906 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/9.801, allocations: 443.7 kB / 3.907 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/9.803, allocations: 309.7 kB / 3.907 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/9.806, allocations: 1.029 MB / 3.908 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/9.806, allocations: 0.9058 MB / 3.909 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006855/9.807, allocations: 135.7 kB / 3.909 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/9.807, allocations: 34.84 kB / 3.909 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.631e-06/9.807, allocations: 0 / 3.909 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.07289/9.88, allocations: 45.16 MB / 3.953 GB, free: 75.12 MB / 0.5261 GB