Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.445e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3189, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.611/6.93, allocations: 2.781 GB / 3.155 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/6.93, allocations: 85.72 kB / 3.155 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.812/8.743, allocations: 438.9 MB / 3.583 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.842e-06/8.743, allocations: 0 / 3.583 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.921e-05/8.743, allocations: 21.42 kB / 3.583 GB, free: 61.99 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006187/8.749, allocations: 1.764 MB / 3.585 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/8.749, allocations: 12.8 kB / 3.585 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/8.752, allocations: 338.2 kB / 3.585 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/8.754, allocations: 0.5584 MB / 3.586 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/8.754, allocations: 49.12 kB / 3.586 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/8.754, allocations: 56.12 kB / 3.586 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/8.757, allocations: 0.9707 MB / 3.587 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/8.757, allocations: 3.75 kB / 3.587 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/8.757, allocations: 28.09 kB / 3.587 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/8.757, allocations: 23.62 kB / 3.587 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/8.759, allocations: 0.7909 MB / 3.588 GB, free: 60.7 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.006807/8.766, allocations: 4.773 MB / 3.593 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/8.769, allocations: 0.6887 MB / 3.593 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/8.769, allocations: 220.5 kB / 3.593 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05472/8.824, allocations: 24.23 MB / 3.617 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/8.824, allocations: 41.22 kB / 3.617 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.619e-06/8.824, allocations: 0 / 3.617 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003948/8.828, allocations: 1.022 MB / 3.618 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/8.828, allocations: 106.5 kB / 3.618 GB, free: 42.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/8.829, allocations: 458.8 kB / 3.619 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/8.829, allocations: 38.64 kB / 3.619 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/8.829, allocations: 333.2 kB / 3.619 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/8.829, allocations: 152.1 kB / 3.619 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/8.829, allocations: 11.25 kB / 3.619 GB, free: 42.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001066/8.829, allocations: 369.5 kB / 3.62 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/8.83, allocations: 161.8 kB / 3.62 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/8.83, allocations: 354.3 kB / 3.62 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/8.831, allocations: 200.5 kB / 3.62 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/8.831, allocations: 3.969 kB / 3.62 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001554/8.832, allocations: 0.6421 MB / 3.621 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004093/8.833, allocations: 2.09 MB / 3.623 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/8.833, allocations: 7.422 kB / 3.623 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/8.835, allocations: 272.3 kB / 3.623 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/8.836, allocations: 147.5 kB / 3.623 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/8.837, allocations: 0.7476 MB / 3.624 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009696/8.838, allocations: 124.6 kB / 3.624 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/8.838, allocations: 35.64 kB / 3.624 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/8.838, allocations: 13.3 kB / 3.624 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001989/8.84, allocations: 0.5857 MB / 3.625 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/8.84, allocations: 6.031 kB / 3.625 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/8.841, allocations: 181.7 kB / 3.625 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/8.842, allocations: 154.7 kB / 3.625 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007401/8.843, allocations: 0.6989 MB / 3.626 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/8.844, allocations: 117 kB / 3.626 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/8.844, allocations: 33.31 kB / 3.626 GB, free: 38.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002264/8.844, allocations: 141.5 kB / 3.626 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/8.844, allocations: 60.84 kB / 3.626 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/8.848, allocations: 2.801 MB / 3.629 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/8.848, allocations: 35.95 kB / 3.629 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.461e-06/8.848, allocations: 3.953 kB / 3.629 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/8.848, allocations: 3.562 kB / 3.629 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/8.85, allocations: 1.383 MB / 3.63 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.898e-06/8.85, allocations: 0 / 3.63 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/8.85, allocations: 109.4 kB / 3.63 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/8.853, allocations: 1.209 MB / 3.632 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/8.853, allocations: 14.72 kB / 3.632 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/8.855, allocations: 1.47 MB / 3.633 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.03e-06/8.855, allocations: 4.062 kB / 3.633 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/8.857, allocations: 1.787 MB / 3.635 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/8.858, allocations: 366.8 kB / 3.635 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/8.858, allocations: 15 kB / 3.635 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/8.859, allocations: 90 kB / 3.635 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/8.859, allocations: 44.67 kB / 3.635 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/8.859, allocations: 22.27 kB / 3.635 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008747/8.86, allocations: 0.5511 MB / 3.636 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-07/8.86, allocations: 0 / 3.636 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005538/8.865, allocations: 1.429 MB / 3.637 GB, free: 35.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008376/8.874, allocations: 1.73 MB / 3.639 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002604/8.877, allocations: 1.041 MB / 3.64 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.203e-06/8.877, allocations: 0 / 3.64 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009849/8.878, allocations: 0.6157 MB / 3.64 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/8.88, allocations: 332.8 kB / 3.641 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/8.883, allocations: 1.642 MB / 3.642 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/8.883, allocations: 1.148 MB / 3.644 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00165/8.885, allocations: 0.6803 MB / 3.644 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/8.885, allocations: 54.59 kB / 3.644 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of SimCode: time 1.782e-06/8.885, allocations: 0 / 3.644 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.07886/8.964, allocations: 45.63 MB / 3.689 GB, free: 18.45 MB / 0.5105 GB "" Variables in the reference:time,N_pump.y,Source.ports[1].m_flow,Source.ports[1].p,Source.ports[1].h_outflow,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,valveOpening.y,Valve.port_b.m_flow,Valve.port_b.p,Valve.port_b.h_outflow,Valve.minLimiter.y Variables in the result:N_pump.duration,N_pump.height,N_pump.offset,N_pump.startTime,N_pump.y,Sink.T,Sink.T_in_internal,Sink.X[1],Sink.X_in_internal[1],Sink.flowDirection,Sink.medium.p,Sink.medium.preferredMediumStates,Sink.medium.sat.psat,Sink.medium.standardOrderComponents,Sink.medium.state.p,Sink.nPorts,Sink.p,Sink.p_in_internal,Sink.ports[1].h_outflow,Sink.ports[1].m_flow,Sink.ports[1].p,Source.T,Source.T_in_internal,Source.X[1],Source.X_in_internal[1],Source.flowDirection,Source.medium.p,Source.medium.preferredMediumStates,Source.medium.sat.psat,Source.medium.standardOrderComponents,Source.medium.state.p,Source.nPorts,Source.p,Source.p_in_internal,Source.ports[1].h_outflow,Source.ports[1].m_flow,Source.ports[1].p,Valve.Av,Valve.Cv,Valve.CvData,Valve.Kv,Valve.allowFlowReversal,Valve.checkValve,Valve.dp_nominal,Valve.dp_small,Valve.dp_start,Valve.dp_turbulent,Valve.filteredOpening,Valve.leakageOpening,Valve.m_flow_nominal,Valve.m_flow_small,Valve.m_flow_start,Valve.minLimiter.uMin,Valve.minLimiter.y,Valve.opening,Valve.opening_nominal,Valve.port_a_exposesState,Valve.port_b.h_outflow,Valve.port_b.m_flow,Valve.port_b.p,Valve.port_b_exposesState,Valve.rho_nominal,Valve.riseTime,Valve.showDesignFlowDirection,Valve.show_T,Valve.show_V_flow,Valve.state_b.p,Valve.use_Re,pump.N_const,pump.N_nominal,pump.T_start,pump.V,pump.V_flow_single_init,pump.X_start[1],pump.allowFlowReversal,pump.checkValve,pump.delta_head_init,pump.energyDynamics,pump.g,pump.h_start,pump.heatTransfer.T_ambient,pump.heatTransfer.k,pump.heatTransfer.n,pump.heatTransfer.use_k,pump.initialize_p,pump.m_flow,pump.m_flow_start,pump.massDynamics,pump.medium.h,pump.medium.p,pump.medium.preferredMediumStates,pump.medium.standardOrderComponents,pump.monitoring.state_in.p,pump.nParallel,pump.p_a_start,pump.p_b_start,pump.p_start,pump.port_a.p,pump.port_a_exposesState,pump.port_b.h_outflow,pump.port_b.m_flow,pump.port_b.p,pump.port_b_exposesState,pump.rho_nominal,pump.showDesignFlowDirection,pump.show_NPSHa,pump.substanceDynamics,pump.traceDynamics,pump.use_HeatTransfer,pump.use_N_in,pump.use_T_start,pump.use_powerCharacteristic,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time,valveOpening.duration,valveOpening.height,valveOpening.offset,valveOpening.startTime,valveOpening.y