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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.868e-05, allocations: 5.969 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.008/7.147, allocations: 2.787 GB / 3.188 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/7.148, allocations: 83.45 kB / 3.188 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.887/9.034, allocations: 443.5 MB / 3.621 GB, free: 50.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.008e-06/9.034, allocations: 0 / 3.621 GB, free: 50.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.288e-05/9.034, allocations: 27.66 kB / 3.621 GB, free: 50.15 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.009208/9.043, allocations: 1.759 MB / 3.623 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/9.044, allocations: 8.031 kB / 3.623 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/9.047, allocations: 342 kB / 3.623 GB, free: 48.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/9.048, allocations: 0.5646 MB / 3.623 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/9.049, allocations: 51.27 kB / 3.624 GB, free: 47.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/9.049, allocations: 56 kB / 3.624 GB, free: 47.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/9.051, allocations: 0.964 MB / 3.625 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/9.052, allocations: 3.938 kB / 3.625 GB, free: 46.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.754e-05/9.052, allocations: 28 kB / 3.625 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/9.052, allocations: 21 kB / 3.625 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/9.054, allocations: 0.7978 MB / 3.625 GB, free: 46.07 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.006546/9.061, allocations: 4.772 MB / 3.63 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/9.063, allocations: 0.6913 MB / 3.631 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/9.064, allocations: 221.5 kB / 3.631 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04823/9.112, allocations: 24.23 MB / 3.655 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/9.112, allocations: 42.92 kB / 3.655 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.726e-06/9.112, allocations: 0 / 3.655 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003777/9.116, allocations: 1.018 MB / 3.656 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/9.116, allocations: 106.8 kB / 3.656 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/9.117, allocations: 456.8 kB / 3.656 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/9.117, allocations: 37.7 kB / 3.656 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/9.117, allocations: 334.2 kB / 3.656 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/9.117, allocations: 158.7 kB / 3.657 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/9.117, allocations: 12 kB / 3.657 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001027/9.117, allocations: 370.7 kB / 3.657 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/9.118, allocations: 165.1 kB / 3.657 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/9.118, allocations: 342.7 kB / 3.657 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/9.119, allocations: 207.8 kB / 3.658 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.255e-06/9.119, allocations: 4 kB / 3.658 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001467/9.12, allocations: 0.6374 MB / 3.658 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003982/9.12, allocations: 2.097 MB / 3.66 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/9.12, allocations: 4 kB / 3.66 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/9.122, allocations: 264.6 kB / 3.661 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/9.123, allocations: 147.8 kB / 3.661 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/9.124, allocations: 0.7593 MB / 3.661 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/9.125, allocations: 127.2 kB / 3.662 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/9.125, allocations: 31.98 kB / 3.662 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/9.125, allocations: 4 kB / 3.662 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/9.127, allocations: 0.5938 MB / 3.662 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/9.127, allocations: 4 kB / 3.662 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/9.128, allocations: 177.1 kB / 3.662 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/9.129, allocations: 147.8 kB / 3.663 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/9.129, allocations: 0.7084 MB / 3.663 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/9.13, allocations: 111.5 kB / 3.663 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/9.13, allocations: 32 kB / 3.663 GB, free: 4.262 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.0002127/9.131, allocations: 148.7 kB / 3.664 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/9.131, allocations: 63.25 kB / 3.664 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/9.134, allocations: 2.798 MB / 3.666 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/9.134, allocations: 31.95 kB / 3.666 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-06/9.134, allocations: 0 / 3.666 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/9.134, allocations: 3.984 kB / 3.666 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/9.136, allocations: 1.382 MB / 3.668 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.978e-06/9.136, allocations: 0 / 3.668 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/9.137, allocations: 107.9 kB / 3.668 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/9.14, allocations: 1.208 MB / 3.669 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/9.14, allocations: 16 kB / 3.669 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/9.142, allocations: 1.48 MB / 3.67 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.645e-06/9.142, allocations: 4.031 kB / 3.67 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/9.145, allocations: 1.784 MB / 3.672 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/9.146, allocations: 370.5 kB / 3.673 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/9.146, allocations: 8 kB / 3.673 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008025/9.147, allocations: 87.83 kB / 3.673 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/9.147, allocations: 48.48 kB / 3.673 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/9.147, allocations: 27.98 kB / 3.673 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001054/9.148, allocations: 0.5421 MB / 3.673 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.03e-07/9.148, allocations: 3.938 kB / 3.673 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005944/9.154, allocations: 1.435 MB / 3.675 GB, free: 8.586 MB / 0.5417 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.00856/9.163, allocations: 1.724 MB / 3.676 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002983/9.166, allocations: 1.046 MB / 3.677 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.232e-06/9.166, allocations: 0 / 3.677 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/9.167, allocations: 0.6196 MB / 3.678 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/9.169, allocations: 342.8 kB / 3.678 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/9.173, allocations: 1.646 MB / 3.68 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/9.174, allocations: 1.147 MB / 3.681 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001762/9.176, allocations: 0.6759 MB / 3.682 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/9.176, allocations: 51.42 kB / 3.682 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of SimCode: time 1.741e-06/9.176, allocations: 0 / 3.682 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of Templates: time 0.4115/9.587, allocations: 45.7 MB / 3.726 GB, free: 75.75 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