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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.984e-05, allocations: 4 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 54.86 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.915/6.236, allocations: 2.614 GB / 2.965 GB, free: 64.28 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/6.237, allocations: 83.95 kB / 2.965 GB, free: 64.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.295/9.532, allocations: 0.7575 GB / 3.723 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/9.532, allocations: 0 / 3.723 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001476/9.532, allocations: 39.95 kB / 3.723 GB, free: 39.06 MB / 0.4948 GB 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.009765/9.542, allocations: 2.702 MB / 3.726 GB, free: 37.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/9.542, allocations: 9.375 kB / 3.726 GB, free: 37.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007665/9.55, allocations: 0.648 MB / 3.726 GB, free: 37.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/9.553, allocations: 1.01 MB / 3.727 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/9.553, allocations: 100.3 kB / 3.727 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/9.553, allocations: 110.9 kB / 3.727 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006224/9.559, allocations: 1.904 MB / 3.729 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/9.559, allocations: 7.5 kB / 3.729 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/9.56, allocations: 49.66 kB / 3.729 GB, free: 35.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/9.56, allocations: 49.39 kB / 3.729 GB, free: 35.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005305/9.565, allocations: 1.596 MB / 3.731 GB, free: 35.37 MB / 0.4948 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.01192/9.577, allocations: 9.305 MB / 3.74 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/9.582, allocations: 1.394 MB / 3.741 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009165/9.583, allocations: 461.6 kB / 3.742 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04689/9.63, allocations: 21.63 MB / 3.763 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/9.63, allocations: 44.53 kB / 3.763 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 4.576e-06/9.63, allocations: 0 / 3.763 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.04896/9.679, allocations: 8.012 MB / 3.771 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/9.679, allocations: 171.5 kB / 3.771 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/9.681, allocations: 0.724 MB / 3.772 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/9.681, allocations: 45.7 kB / 3.772 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/9.681, allocations: 0.618 MB / 3.772 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/9.682, allocations: 460.8 kB / 3.773 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/9.682, allocations: 31.94 kB / 3.773 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/9.682, allocations: 369.5 kB / 3.773 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/9.683, allocations: 0.5679 MB / 3.774 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/9.685, allocations: 0.9641 MB / 3.775 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/9.687, allocations: 0.688 MB / 3.775 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/9.687, allocations: 4 kB / 3.775 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004849/9.691, allocations: 1.949 MB / 3.777 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002215/9.694, allocations: 4.616 MB / 3.782 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/9.694, allocations: 12 kB / 3.782 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007889/9.702, allocations: 1.307 MB / 3.783 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/9.704, allocations: 439.8 kB / 3.783 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/9.71, allocations: 3.103 MB / 3.786 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/9.712, allocations: 225.4 kB / 3.787 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/9.713, allocations: 97.17 kB / 3.787 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/9.713, allocations: 4 kB / 3.787 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005029/9.718, allocations: 1.734 MB / 3.788 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/9.718, allocations: 12 kB / 3.788 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/9.72, allocations: 0.548 MB / 3.789 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/9.724, allocations: 0.5716 MB / 3.79 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/9.727, allocations: 1.651 MB / 3.791 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/9.729, allocations: 223.9 kB / 3.791 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/9.73, allocations: 94.34 kB / 3.791 GB, free: 3.098 MB / 0.5105 GB 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.0005699/9.73, allocations: 208.5 kB / 3.792 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/9.731, allocations: 130.4 kB / 3.792 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3424/10.07, allocations: 7.219 MB / 3.799 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001159/10.07, allocations: 83.75 kB / 3.799 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/10.07, allocations: 3.109 kB / 3.799 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-05/10.07, allocations: 8.875 kB / 3.799 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/10.09, allocations: 9.449 MB / 3.808 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/10.09, allocations: 1.719 kB / 3.808 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/10.09, allocations: 326.8 kB / 3.808 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/10.1, allocations: 2.718 MB / 3.811 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/10.1, allocations: 47.38 kB / 3.811 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006449/10.11, allocations: 4.388 MB / 3.815 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.793e-06/10.11, allocations: 1.156 kB / 3.815 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008828/10.12, allocations: 4.594 MB / 3.82 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/10.12, allocations: 0.5392 MB / 3.82 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/10.12, allocations: 26.38 kB / 3.82 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/10.12, allocations: 225.2 kB / 3.821 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/10.12, allocations: 135 kB / 3.821 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/10.12, allocations: 63.34 kB / 3.821 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001078/10.12, allocations: 0.6259 MB / 3.821 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.56e-07/10.12, allocations: 0.9688 kB / 3.821 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008343/10.13, allocations: 2.044 MB / 3.823 GB, free: 50.23 MB / 0.5105 GB 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.01051/10.14, allocations: 2.32 MB / 3.826 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008887/10.15, allocations: 3.411 MB / 3.829 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/10.15, allocations: 1.969 kB / 3.829 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/10.16, allocations: 2.028 MB / 3.831 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/10.16, allocations: 0.5469 MB / 3.832 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1963/10.36, allocations: 79.07 MB / 3.909 GB, free: 44.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/10.36, allocations: 1.63 MB / 3.91 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008077/10.36, allocations: 139.1 kB / 3.911 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.83e-06/10.36, allocations: 0 / 3.911 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.4441/10.8, allocations: 84.79 MB / 3.993 GB, free: 67.9 MB / 0.5261 GB