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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 270 MB / 283.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.336e-05, allocations: 4 kB / 348.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4048, allocations: 61.87 MB / 410.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.219/7.623, allocations: 2.787 GB / 3.188 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/7.624, allocations: 79.02 kB / 3.188 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.058/9.682, allocations: 443.5 MB / 3.621 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.222e-06/9.682, allocations: 0 / 3.621 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.791e-05/9.682, allocations: 24.17 kB / 3.621 GB, free: 64.59 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.008758/9.691, allocations: 1.765 MB / 3.623 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/9.691, allocations: 7.156 kB / 3.623 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/9.696, allocations: 338.9 kB / 3.623 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/9.697, allocations: 0.5606 MB / 3.623 GB, free: 63.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/9.697, allocations: 52.16 kB / 3.624 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/9.697, allocations: 59.03 kB / 3.624 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/9.7, allocations: 0.963 MB / 3.625 GB, free: 62.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/9.7, allocations: 5.094 kB / 3.625 GB, free: 62.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/9.7, allocations: 27.31 kB / 3.625 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/9.7, allocations: 25.5 kB / 3.625 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/9.703, allocations: 0.7974 MB / 3.625 GB, free: 62.48 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.00642/9.709, allocations: 4.769 MB / 3.63 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/9.712, allocations: 0.6931 MB / 3.631 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/9.712, allocations: 216.5 kB / 3.631 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05212/9.764, allocations: 24.23 MB / 3.655 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/9.764, allocations: 38.55 kB / 3.655 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.557e-06/9.764, allocations: 3.719 kB / 3.655 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004067/9.768, allocations: 1.011 MB / 3.656 GB, free: 42.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/9.769, allocations: 110.6 kB / 3.656 GB, free: 42.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/9.769, allocations: 453.5 kB / 3.656 GB, free: 42.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.6e-05/9.769, allocations: 37.27 kB / 3.656 GB, free: 42.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/9.77, allocations: 334.8 kB / 3.656 GB, free: 41.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/9.77, allocations: 151.3 kB / 3.657 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/9.77, allocations: 19.59 kB / 3.657 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001206/9.77, allocations: 372.5 kB / 3.657 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/9.77, allocations: 167 kB / 3.657 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/9.771, allocations: 341.8 kB / 3.657 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/9.771, allocations: 202.5 kB / 3.658 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.439e-06/9.771, allocations: 3.531 kB / 3.658 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001593/9.773, allocations: 0.6464 MB / 3.658 GB, free: 40.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004048/9.773, allocations: 2.094 MB / 3.66 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/9.773, allocations: 3.688 kB / 3.66 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/9.775, allocations: 270.4 kB / 3.661 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/9.776, allocations: 148.9 kB / 3.661 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/9.777, allocations: 0.7588 MB / 3.661 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/9.778, allocations: 123.8 kB / 3.662 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.789e-05/9.778, allocations: 35.02 kB / 3.662 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/9.778, allocations: 3.969 kB / 3.662 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001957/9.78, allocations: 0.5909 MB / 3.662 GB, free: 37.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/9.78, allocations: 3.688 kB / 3.662 GB, free: 37.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/9.782, allocations: 183.9 kB / 3.662 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/9.782, allocations: 147.5 kB / 3.663 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000752/9.783, allocations: 0.7027 MB / 3.663 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/9.784, allocations: 107.8 kB / 3.663 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/9.784, allocations: 37.27 kB / 3.663 GB, free: 36.87 MB / 0.5261 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.0002463/9.785, allocations: 144.2 kB / 3.664 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/9.785, allocations: 66.33 kB / 3.664 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/9.789, allocations: 2.795 MB / 3.666 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/9.789, allocations: 31.81 kB / 3.666 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.135e-06/9.789, allocations: 0 / 3.666 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/9.789, allocations: 3.844 kB / 3.666 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/9.791, allocations: 1.375 MB / 3.668 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.602e-06/9.791, allocations: 7.453 kB / 3.668 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/9.791, allocations: 103.4 kB / 3.668 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00281/9.794, allocations: 1.215 MB / 3.669 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/9.794, allocations: 17.94 kB / 3.669 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/9.796, allocations: 1.471 MB / 3.67 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.331e-06/9.796, allocations: 0 / 3.67 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/9.798, allocations: 1.784 MB / 3.672 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006682/9.799, allocations: 365.4 kB / 3.673 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/9.799, allocations: 10.94 kB / 3.673 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/9.8, allocations: 87.69 kB / 3.673 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/9.801, allocations: 50.77 kB / 3.673 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/9.801, allocations: 32.94 kB / 3.673 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008683/9.802, allocations: 0.5497 MB / 3.673 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.92e-07/9.802, allocations: 0 / 3.673 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005416/9.807, allocations: 1.435 MB / 3.675 GB, free: 31.61 MB / 0.5261 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.008453/9.815, allocations: 1.726 MB / 3.676 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002582/9.818, allocations: 1.046 MB / 3.677 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/9.818, allocations: 0 / 3.677 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009659/9.819, allocations: 0.6178 MB / 3.678 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/9.821, allocations: 346.4 kB / 3.678 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/9.824, allocations: 1.641 MB / 3.68 GB, free: 27.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/9.825, allocations: 1.148 MB / 3.681 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001571/9.826, allocations: 0.6771 MB / 3.682 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/9.827, allocations: 51.19 kB / 3.682 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of SimCode: time 1.891e-06/9.827, allocations: 4 kB / 3.682 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.08404/9.911, allocations: 45.7 MB / 3.726 GB, free: 6.738 MB / 0.5417 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.checkValveHomotopy,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.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