Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 1.843/1.843, allocations: 209.3 MB / 221.9 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.759e-05, allocations: 7.984 kB / 273.1 MB, free: 0.7109 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 48.7 MB / 321.8 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.276/6.384, allocations: 2.503 GB / 2.818 GB, free: 117.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/6.385, allocations: 80.28 kB / 2.818 GB, free: 117.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.288/9.673, allocations: 0.7374 GB / 3.555 GB, free: 34.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.095e-06/9.673, allocations: 0 / 3.555 GB, free: 34.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001479/9.673, allocations: 39.06 kB / 3.555 GB, free: 34.08 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.00977/9.683, allocations: 2.624 MB / 3.558 GB, free: 32.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/9.683, allocations: 6.531 kB / 3.558 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007843/9.691, allocations: 0.6238 MB / 3.558 GB, free: 32.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/9.693, allocations: 1 MB / 3.559 GB, free: 32.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/9.694, allocations: 98.31 kB / 3.559 GB, free: 32.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/9.694, allocations: 105.2 kB / 3.559 GB, free: 32.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006013/9.7, allocations: 1.917 MB / 3.561 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/9.7, allocations: 3.938 kB / 3.561 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/9.7, allocations: 59.22 kB / 3.561 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/9.7, allocations: 42.08 kB / 3.561 GB, free: 31.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005936/9.706, allocations: 1.6 MB / 3.563 GB, free: 31.92 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.01269/9.719, allocations: 9.298 MB / 3.572 GB, free: 25.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/9.724, allocations: 1.394 MB / 3.573 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/9.725, allocations: 446.5 kB / 3.574 GB, free: 25.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04527/9.771, allocations: 21.58 MB / 3.595 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/9.771, allocations: 47.69 kB / 3.595 GB, free: 11.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 4.671e-06/9.771, allocations: 3.938 kB / 3.595 GB, free: 11.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=134): time 0.0497/9.82, allocations: 8.024 MB / 3.603 GB, free: 10.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/9.821, allocations: 168.7 kB / 3.603 GB, free: 9.988 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/9.822, allocations: 0.7224 MB / 3.604 GB, free: 25.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003419/9.823, allocations: 52.92 kB / 3.604 GB, free: 25.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/9.823, allocations: 0.614 MB / 3.604 GB, free: 25.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/9.824, allocations: 455.5 kB / 3.605 GB, free: 24.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/9.824, allocations: 28.97 kB / 3.605 GB, free: 24.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/9.824, allocations: 369.2 kB / 3.605 GB, free: 24.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/9.825, allocations: 0.5699 MB / 3.606 GB, free: 24.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/9.827, allocations: 0.9644 MB / 3.607 GB, free: 23.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/9.829, allocations: 0.6802 MB / 3.607 GB, free: 23.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/9.829, allocations: 7.844 kB / 3.607 GB, free: 23.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005493/9.835, allocations: 1.954 MB / 3.609 GB, free: 22.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002226/9.837, allocations: 4.615 MB / 3.614 GB, free: 17.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/9.837, allocations: 18.47 kB / 3.614 GB, free: 17.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007965/9.845, allocations: 1.31 MB / 3.615 GB, free: 17.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/9.848, allocations: 444.4 kB / 3.615 GB, free: 17.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/9.853, allocations: 3.089 MB / 3.618 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/9.856, allocations: 228.9 kB / 3.619 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/9.856, allocations: 104.6 kB / 3.619 GB, free: 14.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/9.856, allocations: 7.703 kB / 3.619 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004926/9.861, allocations: 1.739 MB / 3.62 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/9.861, allocations: 15.94 kB / 3.621 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/9.863, allocations: 0.5386 MB / 3.621 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/9.867, allocations: 0.5725 MB / 3.622 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/9.87, allocations: 1.636 MB / 3.623 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/9.873, allocations: 234.2 kB / 3.623 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/9.873, allocations: 98.39 kB / 3.624 GB, free: 9.824 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006024/9.874, allocations: 199.7 kB / 3.624 GB, free: 9.625 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/9.874, allocations: 134.2 kB / 3.624 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/9.889, allocations: 7.209 MB / 3.631 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/9.889, allocations: 76.53 kB / 3.631 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/9.889, allocations: 4 kB / 3.631 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/9.889, allocations: 9.422 kB / 3.631 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.326/10.21, allocations: 9.46 MB / 3.64 GB, free: 48.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/10.22, allocations: 1.75 kB / 3.64 GB, free: 48.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/10.22, allocations: 333 kB / 3.641 GB, free: 48.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/10.23, allocations: 2.708 MB / 3.643 GB, free: 48.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/10.23, allocations: 45.44 kB / 3.643 GB, free: 48.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006352/10.23, allocations: 4.378 MB / 3.647 GB, free: 46.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.527e-06/10.23, allocations: 1.719 kB / 3.647 GB, free: 46.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009895/10.24, allocations: 4.596 MB / 3.652 GB, free: 46.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/10.25, allocations: 0.537 MB / 3.652 GB, free: 45.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004137/10.25, allocations: 28.47 kB / 3.653 GB, free: 45.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/10.25, allocations: 229.1 kB / 3.653 GB, free: 45.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/10.25, allocations: 137.1 kB / 3.653 GB, free: 45.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/10.25, allocations: 62.66 kB / 3.653 GB, free: 45.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001244/10.25, allocations: 0.6298 MB / 3.654 GB, free: 45.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.37e-07/10.25, allocations: 1.188 kB / 3.654 GB, free: 45.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008552/10.26, allocations: 2.028 MB / 3.656 GB, free: 45.76 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/10.27, allocations: 2.306 MB / 3.658 GB, free: 45.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008794/10.28, allocations: 3.411 MB / 3.661 GB, free: 45.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/10.28, allocations: 5.203 kB / 3.661 GB, free: 45.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004463/10.28, allocations: 2.025 MB / 3.663 GB, free: 45.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/10.29, allocations: 0.5506 MB / 3.664 GB, free: 45.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1969/10.48, allocations: 77.8 MB / 3.74 GB, free: 41.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/10.49, allocations: 1.634 MB / 3.741 GB, free: 40.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/10.49, allocations: 137.8 kB / 3.741 GB, free: 40.92 MB / 474.7 MB Notification: Performance of SimCode: time 2.191e-06/10.49, allocations: 1.219 kB / 3.741 GB, free: 40.92 MB / 474.7 MB Notification: Performance of Templates: time 0.4336/10.92, allocations: 84.6 MB / 3.824 GB, free: 63.6 MB / 490.7 MB