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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.222/2.222, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.271e-05, allocations: 4 kB / 304.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3309, allocations: 54.85 MB / 359.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.546/6.877, allocations: 2.612 GB / 2.964 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/6.877, allocations: 81.34 kB / 2.964 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.882/8.759, allocations: 436.3 MB / 3.39 GB, free: 53.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/8.759, allocations: 0 / 3.39 GB, free: 53.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.207e-05/8.759, allocations: 17.66 kB / 3.39 GB, free: 53.36 MB / 490.7 MB 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.009284/8.768, allocations: 1.77 MB / 3.392 GB, free: 52.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/8.769, allocations: 7.781 kB / 3.392 GB, free: 52.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006319/8.775, allocations: 328.5 kB / 3.392 GB, free: 52.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/8.777, allocations: 0.5756 MB / 3.393 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/8.777, allocations: 51.92 kB / 3.393 GB, free: 52.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/8.778, allocations: 57.88 kB / 3.393 GB, free: 52.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/8.782, allocations: 0.9579 MB / 3.394 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/8.782, allocations: 5.562 kB / 3.394 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/8.783, allocations: 26.09 kB / 3.394 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/8.783, allocations: 21.31 kB / 3.394 GB, free: 52.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/8.787, allocations: 0.7929 MB / 3.394 GB, free: 52.02 MB / 490.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.009675/8.797, allocations: 4.614 MB / 3.399 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/8.802, allocations: 0.6822 MB / 3.4 GB, free: 48.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/8.802, allocations: 210.9 kB / 3.4 GB, free: 48.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05919/8.862, allocations: 18.42 MB / 3.418 GB, free: 37.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/8.862, allocations: 37.38 kB / 3.418 GB, free: 37.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 4.616e-06/8.862, allocations: 0 / 3.418 GB, free: 37.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.02809/8.89, allocations: 4.052 MB / 3.422 GB, free: 36.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/8.89, allocations: 113.6 kB / 3.422 GB, free: 36.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/8.891, allocations: 411.3 kB / 3.422 GB, free: 36.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/8.891, allocations: 36.14 kB / 3.422 GB, free: 36.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/8.891, allocations: 357.6 kB / 3.423 GB, free: 36.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/8.891, allocations: 225.4 kB / 3.423 GB, free: 36.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/8.891, allocations: 14.22 kB / 3.423 GB, free: 36.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/8.891, allocations: 368.3 kB / 3.423 GB, free: 35.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/8.892, allocations: 280.7 kB / 3.424 GB, free: 35.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/8.893, allocations: 0.4922 MB / 3.424 GB, free: 35.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/8.894, allocations: 338.6 kB / 3.424 GB, free: 35.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-06/8.894, allocations: 3.906 kB / 3.424 GB, free: 35.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002685/8.896, allocations: 1.031 MB / 3.425 GB, free: 35.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005234/8.897, allocations: 2.621 MB / 3.428 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/8.897, allocations: 7.75 kB / 3.428 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005311/8.902, allocations: 0.8401 MB / 3.429 GB, free: 32.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/8.903, allocations: 191.4 kB / 3.429 GB, free: 32.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/8.906, allocations: 1.628 MB / 3.431 GB, free: 31.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/8.907, allocations: 112.1 kB / 3.431 GB, free: 31.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/8.907, allocations: 48.88 kB / 3.431 GB, free: 31.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/8.907, allocations: 3.344 kB / 3.431 GB, free: 31.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002714/8.91, allocations: 0.9965 MB / 3.432 GB, free: 31.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/8.91, allocations: 7.562 kB / 3.432 GB, free: 31.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/8.913, allocations: 0.5738 MB / 3.432 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/8.914, allocations: 187.8 kB / 3.432 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/8.916, allocations: 1.584 MB / 3.434 GB, free: 30.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/8.917, allocations: 114.7 kB / 3.434 GB, free: 30.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/8.917, allocations: 48.62 kB / 3.434 GB, free: 30.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002726/8.918, allocations: 150.3 kB / 3.434 GB, free: 30.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/8.918, allocations: 65.22 kB / 3.434 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006579/8.924, allocations: 3.661 MB / 3.438 GB, free: 28.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/8.925, allocations: 38.3 kB / 3.438 GB, free: 28.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.457e-06/8.925, allocations: 0 / 3.438 GB, free: 28.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/8.925, allocations: 7.781 kB / 3.438 GB, free: 28.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/8.932, allocations: 4.668 MB / 3.443 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/8.932, allocations: 4.062 kB / 3.443 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/8.933, allocations: 143.4 kB / 3.443 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005843/8.938, allocations: 1.773 MB / 3.444 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/8.939, allocations: 23.67 kB / 3.444 GB, free: 26.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/8.941, allocations: 2.378 MB / 3.447 GB, free: 24.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.123e-06/8.942, allocations: 3.25 kB / 3.447 GB, free: 24.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/8.945, allocations: 2.293 MB / 3.449 GB, free: 23.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/8.946, allocations: 326.3 kB / 3.449 GB, free: 23.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/8.946, allocations: 15.52 kB / 3.449 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/8.947, allocations: 116.2 kB / 3.449 GB, free: 23.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/8.947, allocations: 59.53 kB / 3.449 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/8.947, allocations: 26.81 kB / 3.449 GB, free: 23.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006163/8.948, allocations: 414.3 kB / 3.45 GB, free: 23 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/8.948, allocations: 0 / 3.45 GB, free: 23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005962/8.954, allocations: 1.567 MB / 3.451 GB, free: 22.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (50): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009184/8.963, allocations: 1.845 MB / 3.453 GB, free: 22.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004332/8.968, allocations: 1.636 MB / 3.455 GB, free: 21.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7e-06/8.968, allocations: 6.891 kB / 3.455 GB, free: 21.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/8.969, allocations: 0.8983 MB / 3.456 GB, free: 21.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/8.971, allocations: 296.7 kB / 3.456 GB, free: 21.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4858/9.457, allocations: 77.04 MB / 3.531 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/9.458, allocations: 1.143 MB / 3.532 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001889/9.46, allocations: 0.6571 MB / 3.533 GB, free: 61.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/9.46, allocations: 55.84 kB / 3.533 GB, free: 61.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.83e-06/9.46, allocations: 0 / 3.533 GB, free: 61.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.0931/9.553, allocations: 52.58 MB / 3.584 GB, free: 59.71 MB / 0.4948 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.X[1],Sink.flowDirection,Sink.medium.preferredMediumStates,Sink.medium.standardOrderComponents,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.X[1],Source.flowDirection,Source.medium.preferredMediumStates,Source.medium.standardOrderComponents,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.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.nParallel,pump.p_a_start,pump.p_b_start,pump.p_start,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