Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 270 MB / 283.6 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.072e-05, allocations: 4 kB / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 61.89 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.099/7.427, allocations: 2.787 GB / 3.188 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/7.427, allocations: 80.98 kB / 3.188 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.97/9.398, allocations: 444 MB / 3.622 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.404e-06/9.398, allocations: 0 / 3.622 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.206e-05/9.398, allocations: 20.75 kB / 3.622 GB, free: 63.73 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006245/9.404, allocations: 1.747 MB / 3.623 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/9.404, allocations: 10.97 kB / 3.623 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/9.407, allocations: 336.1 kB / 3.624 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/9.409, allocations: 0.5716 MB / 3.624 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/9.409, allocations: 47 kB / 3.624 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/9.409, allocations: 56.41 kB / 3.624 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/9.412, allocations: 0.9678 MB / 3.625 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/9.412, allocations: 7.781 kB / 3.625 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/9.412, allocations: 28.81 kB / 3.625 GB, free: 61.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/9.412, allocations: 21.66 kB / 3.625 GB, free: 61.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/9.415, allocations: 0.8063 MB / 3.626 GB, free: 61.59 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 preOpt removeSimpleEquations (simulation): time 0.005579/9.42, allocations: 4.525 MB / 3.63 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/9.423, allocations: 0.7381 MB / 3.631 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/9.424, allocations: 245.7 kB / 3.631 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1262/9.55, allocations: 55.75 MB / 3.686 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/9.55, allocations: 42.94 kB / 3.686 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.403e-06/9.55, allocations: 0 / 3.686 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.006314/9.557, allocations: 1.858 MB / 3.688 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/9.557, allocations: 122.8 kB / 3.688 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/9.557, allocations: 437.2 kB / 3.688 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/9.557, allocations: 37.7 kB / 3.688 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/9.558, allocations: 331.2 kB / 3.689 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/9.558, allocations: 175.7 kB / 3.689 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/9.558, allocations: 12 kB / 3.689 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006731/9.558, allocations: 369.3 kB / 3.689 GB, free: 32.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/9.559, allocations: 200.3 kB / 3.689 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/9.559, allocations: 365.6 kB / 3.69 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/9.56, allocations: 233.2 kB / 3.69 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.434e-06/9.56, allocations: 0 / 3.69 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002126/9.562, allocations: 0.7967 MB / 3.691 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008693/9.563, allocations: 1.744 MB / 3.692 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/9.563, allocations: 4 kB / 3.692 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/9.566, allocations: 392.8 kB / 3.693 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/9.567, allocations: 136.1 kB / 3.693 GB, free: 28.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/9.568, allocations: 0.8703 MB / 3.694 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/9.569, allocations: 85.86 kB / 3.694 GB, free: 27.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/9.569, allocations: 43.84 kB / 3.694 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/9.569, allocations: 4 kB / 3.694 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002473/9.572, allocations: 0.763 MB / 3.695 GB, free: 26.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/9.572, allocations: 8.094 kB / 3.695 GB, free: 26.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/9.574, allocations: 315 kB / 3.695 GB, free: 26.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/9.575, allocations: 139.1 kB / 3.695 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/9.576, allocations: 0.835 MB / 3.696 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/9.577, allocations: 98.84 kB / 3.696 GB, free: 25.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/9.577, allocations: 31.66 kB / 3.696 GB, free: 25.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002808/9.577, allocations: 144.6 kB / 3.696 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/9.578, allocations: 67.2 kB / 3.696 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/9.581, allocations: 2.852 MB / 3.699 GB, free: 22.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/9.581, allocations: 46.75 kB / 3.699 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1e-05/9.581, allocations: 3.625 kB / 3.699 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/9.581, allocations: 7 kB / 3.699 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/9.587, allocations: 4.015 MB / 3.703 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/9.587, allocations: 0 / 3.703 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/9.588, allocations: 170.7 kB / 3.703 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/9.589, allocations: 70.38 kB / 3.703 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/9.589, allocations: 20 kB / 3.703 GB, free: 18.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009832/9.59, allocations: 1.176 MB / 3.704 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/9.59, allocations: 0 / 3.704 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/9.593, allocations: 2.384 MB / 3.707 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006696/9.594, allocations: 334.4 kB / 3.707 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/9.594, allocations: 19.84 kB / 3.707 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/9.595, allocations: 74.86 kB / 3.707 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/9.595, allocations: 50.88 kB / 3.707 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/9.595, allocations: 27.94 kB / 3.707 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007336/9.596, allocations: 458.9 kB / 3.708 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.8e-07/9.596, allocations: 0 / 3.708 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005831/9.602, allocations: 1.407 MB / 3.709 GB, free: 13.31 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009253/9.611, allocations: 1.753 MB / 3.711 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00362/9.615, allocations: 1.284 MB / 3.712 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.71e-06/9.615, allocations: 0 / 3.712 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/9.616, allocations: 0.8108 MB / 3.713 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/9.619, allocations: 323.7 kB / 3.713 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/9.623, allocations: 1.935 MB / 3.715 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/9.624, allocations: 1.171 MB / 3.716 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001892/9.626, allocations: 0.6878 MB / 3.717 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/9.626, allocations: 58.53 kB / 3.717 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of SimCode: time 2.273e-06/9.626, allocations: 4 kB / 3.717 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.4195/10.05, allocations: 46.58 MB / 3.762 GB, free: 77.75 MB / 0.5417 GB