Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.224e-05, allocations: 8 kB / 273.1 MB, free: 236 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 48.7 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.255/6.356, allocations: 2.485 GB / 2.799 GB, free: 111.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/6.356, allocations: 81.59 kB / 2.799 GB, free: 111.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.448/9.805, allocations: 0.7915 GB / 3.591 GB, free: 40.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.299e-06/9.805, allocations: 0 / 3.591 GB, free: 40.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001926/9.805, allocations: 42.34 kB / 3.591 GB, free: 40.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01346/9.818, allocations: 2.505 MB / 3.593 GB, free: 39.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/9.819, allocations: 14.34 kB / 3.593 GB, free: 39.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007952/9.826, allocations: 462.5 kB / 3.594 GB, free: 39.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/9.831, allocations: 0.9947 MB / 3.594 GB, free: 38.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/9.831, allocations: 108.1 kB / 3.595 GB, free: 38.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/9.832, allocations: 116.8 kB / 3.595 GB, free: 38.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009512/9.841, allocations: 1.92 MB / 3.597 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-05/9.841, allocations: 7.312 kB / 3.597 GB, free: 37.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/9.842, allocations: 56.12 kB / 3.597 GB, free: 37.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/9.842, allocations: 55.64 kB / 3.597 GB, free: 37.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008963/9.851, allocations: 1.56 MB / 3.598 GB, free: 37.03 MB / 458.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.02089/9.872, allocations: 9.409 MB / 3.607 GB, free: 29.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006184/9.878, allocations: 1.059 MB / 3.608 GB, free: 28.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/9.88, allocations: 410.3 kB / 3.609 GB, free: 28.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/9.894, allocations: 5.43 MB / 3.614 GB, free: 24.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/9.894, allocations: 42.97 kB / 3.614 GB, free: 24.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 5.743e-06/9.894, allocations: 0 / 3.614 GB, free: 24.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=134): time 0.04657/9.94, allocations: 6.971 MB / 3.621 GB, free: 18.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/9.941, allocations: 120.1 kB / 3.621 GB, free: 18.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/9.943, allocations: 0.6898 MB / 3.622 GB, free: 17.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003838/9.943, allocations: 53.7 kB / 3.622 GB, free: 17.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/9.944, allocations: 0.6532 MB / 3.622 GB, free: 16.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007075/9.944, allocations: 449.4 kB / 3.623 GB, free: 16.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/9.945, allocations: 28 kB / 3.623 GB, free: 16.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/9.945, allocations: 369.9 kB / 3.623 GB, free: 16.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/9.947, allocations: 0.5311 MB / 3.624 GB, free: 15.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/9.95, allocations: 0.9403 MB / 3.625 GB, free: 14.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/9.952, allocations: 0.6451 MB / 3.625 GB, free: 13.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/9.952, allocations: 7.938 kB / 3.625 GB, free: 13.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01501/9.967, allocations: 2.325 MB / 3.628 GB, free: 11.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001558/9.969, allocations: 5.055 MB / 3.633 GB, free: 5.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/9.969, allocations: 16 kB / 3.633 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007143/9.976, allocations: 1.195 MB / 3.634 GB, free: 4.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/9.978, allocations: 279.5 kB / 3.634 GB, free: 4.422 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/9.987, allocations: 7.032 MB / 3.641 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/9.989, allocations: 183.9 kB / 3.641 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/9.99, allocations: 95.95 kB / 3.641 GB, free: 12.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/9.99, allocations: 4 kB / 3.641 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008175/9.998, allocations: 2.157 MB / 3.643 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/9.998, allocations: 12 kB / 3.643 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00627/10, allocations: 1.046 MB / 3.644 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/10.01, allocations: 299.6 kB / 3.645 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/10.02, allocations: 6.898 MB / 3.651 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/10.02, allocations: 187.8 kB / 3.651 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/10.02, allocations: 83.97 kB / 3.652 GB, free: 1.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 8,2 6,2 8,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000576/10.02, allocations: 196.5 kB / 3.652 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/10.02, allocations: 130.5 kB / 3.652 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3525/10.37, allocations: 5.117 MB / 3.657 GB, free: 55.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/10.37, allocations: 41.48 kB / 3.657 GB, free: 55.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/10.37, allocations: 1.438 kB / 3.657 GB, free: 55.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/10.37, allocations: 10.95 kB / 3.657 GB, free: 55.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/10.39, allocations: 7.991 MB / 3.665 GB, free: 54.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/10.39, allocations: 0.7188 kB / 3.665 GB, free: 54.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/10.39, allocations: 176.3 kB / 3.665 GB, free: 54.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008188/10.4, allocations: 2.18 MB / 3.667 GB, free: 54.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/10.4, allocations: 42.78 kB / 3.667 GB, free: 54.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00923/10.41, allocations: 8.116 MB / 3.675 GB, free: 48.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.208e-06/10.41, allocations: 3.594 kB / 3.675 GB, free: 48.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009155/10.42, allocations: 4.125 MB / 3.679 GB, free: 48.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/10.42, allocations: 434.9 kB / 3.679 GB, free: 48.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/10.42, allocations: 29.06 kB / 3.679 GB, free: 48.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/10.42, allocations: 225.6 kB / 3.68 GB, free: 48.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/10.42, allocations: 120.4 kB / 3.68 GB, free: 48.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/10.42, allocations: 55.95 kB / 3.68 GB, free: 48.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001187/10.42, allocations: 0.6012 MB / 3.68 GB, free: 48.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.09e-07/10.42, allocations: 0 / 3.68 GB, free: 48.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008835/10.43, allocations: 2.027 MB / 3.682 GB, free: 48.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01095/10.44, allocations: 2.322 MB / 3.685 GB, free: 48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01041/10.45, allocations: 3.303 MB / 3.688 GB, free: 47.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.931e-06/10.45, allocations: 0 / 3.688 GB, free: 47.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/10.46, allocations: 1.58 MB / 3.689 GB, free: 47.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/10.46, allocations: 0.5195 MB / 3.69 GB, free: 47.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2289/10.69, allocations: 76.75 MB / 3.765 GB, free: 42.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/10.69, allocations: 1.453 MB / 3.766 GB, free: 41.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003072/10.69, allocations: 0.965 MB / 3.767 GB, free: 41.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/10.69, allocations: 90.16 kB / 3.767 GB, free: 41.43 MB / 474.7 MB Notification: Performance of SimCode: time 2.078e-06/10.69, allocations: 0 / 3.767 GB, free: 41.43 MB / 474.7 MB Notification: Performance of Templates: time 0.4509/11.15, allocations: 77.13 MB / 3.843 GB, free: 70.09 MB / 490.7 MB