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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 1.843/1.843, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.608e-05, allocations: 7.984 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08733, allocations: 48.7 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.321/6.408, allocations: 2.502 GB / 2.816 GB, free: 97.87 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/6.409, allocations: 83.98 kB / 2.816 GB, free: 97.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669/8.078, allocations: 425.5 MB / 3.232 GB, free: 44.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.678e-06/8.078, allocations: 0 / 3.232 GB, free: 44.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.769e-05/8.078, allocations: 17.84 kB / 3.232 GB, free: 44.26 MB / 442.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.00591/8.084, allocations: 1.714 MB / 3.233 GB, free: 43.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/8.084, allocations: 12.41 kB / 3.233 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/8.087, allocations: 318.3 kB / 3.234 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/8.089, allocations: 0.5748 MB / 3.234 GB, free: 42.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/8.089, allocations: 49.62 kB / 3.234 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/8.089, allocations: 56.92 kB / 3.234 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/8.091, allocations: 0.9604 MB / 3.235 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/8.092, allocations: 3.938 kB / 3.235 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/8.092, allocations: 30.84 kB / 3.235 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/8.092, allocations: 23.38 kB / 3.235 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/8.094, allocations: 0.7892 MB / 3.236 GB, free: 42.09 MB / 442.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.005595/8.1, allocations: 4.613 MB / 3.241 GB, free: 38.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/8.102, allocations: 0.6831 MB / 3.241 GB, free: 38.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/8.103, allocations: 209.3 kB / 3.241 GB, free: 38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03722/8.14, allocations: 18.41 MB / 3.259 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/8.14, allocations: 38.84 kB / 3.26 GB, free: 25.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.77e-06/8.14, allocations: 3.938 kB / 3.26 GB, free: 25.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.03035/8.17, allocations: 4.038 MB / 3.263 GB, free: 24.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/8.17, allocations: 111 kB / 3.264 GB, free: 24.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/8.171, allocations: 414.2 kB / 3.264 GB, free: 24.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/8.171, allocations: 37.48 kB / 3.264 GB, free: 24.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/8.171, allocations: 355.2 kB / 3.264 GB, free: 23.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/8.171, allocations: 220.3 kB / 3.265 GB, free: 23.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/8.172, allocations: 15.56 kB / 3.265 GB, free: 23.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/8.172, allocations: 375.6 kB / 3.265 GB, free: 23.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/8.172, allocations: 283.2 kB / 3.265 GB, free: 23.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/8.173, allocations: 494.8 kB / 3.266 GB, free: 22.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/8.174, allocations: 343.4 kB / 3.266 GB, free: 22.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.398e-06/8.174, allocations: 3.969 kB / 3.266 GB, free: 22.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002637/8.177, allocations: 1.031 MB / 3.267 GB, free: 22.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005128/8.177, allocations: 2.613 MB / 3.27 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/8.177, allocations: 7.781 kB / 3.27 GB, free: 19.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/8.182, allocations: 0.8431 MB / 3.27 GB, free: 19.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/8.183, allocations: 186.1 kB / 3.271 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/8.186, allocations: 1.62 MB / 3.272 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/8.187, allocations: 124.7 kB / 3.272 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/8.187, allocations: 51.81 kB / 3.272 GB, free: 18.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/8.187, allocations: 3.062 kB / 3.272 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002719/8.19, allocations: 1.002 MB / 3.273 GB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/8.19, allocations: 6.781 kB / 3.273 GB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/8.193, allocations: 0.5696 MB / 3.274 GB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/8.194, allocations: 191.5 kB / 3.274 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/8.196, allocations: 1.586 MB / 3.276 GB, free: 16.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/8.197, allocations: 117.6 kB / 3.276 GB, free: 16.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/8.198, allocations: 47.66 kB / 3.276 GB, free: 16.02 MB / 442.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.0002757/8.198, allocations: 156.5 kB / 3.276 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/8.198, allocations: 63.25 kB / 3.276 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/8.204, allocations: 3.645 MB / 3.28 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/8.204, allocations: 40.41 kB / 3.28 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.895e-06/8.204, allocations: 4 kB / 3.28 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/8.204, allocations: 7.703 kB / 3.28 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/8.212, allocations: 4.651 MB / 3.284 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/8.212, allocations: 7.938 kB / 3.284 GB, free: 8.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/8.213, allocations: 134 kB / 3.284 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/8.218, allocations: 1.777 MB / 3.286 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/8.218, allocations: 19.47 kB / 3.286 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/8.221, allocations: 2.368 MB / 3.288 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.44e-06/8.221, allocations: 3.953 kB / 3.288 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/8.225, allocations: 2.305 MB / 3.291 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005658/8.225, allocations: 324.2 kB / 3.291 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/8.225, allocations: 19.94 kB / 3.291 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/8.226, allocations: 107.3 kB / 3.291 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/8.226, allocations: 67.48 kB / 3.291 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/8.227, allocations: 31.8 kB / 3.291 GB, free: 1.953 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009723/8.228, allocations: 409.5 kB / 3.291 GB, free: 1.582 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.779e-06/8.228, allocations: 0 / 3.291 GB, free: 1.582 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006008/8.234, allocations: 1.549 MB / 3.293 GB, free: 68 kB / 442.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.01567/8.249, allocations: 1.844 MB / 3.295 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008769/8.258, allocations: 1.635 MB / 3.296 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/8.258, allocations: 3.516 kB / 3.296 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/8.262, allocations: 0.9047 MB / 3.297 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/8.266, allocations: 293.5 kB / 3.298 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4835/8.749, allocations: 75.7 MB / 3.371 GB, free: 55.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/8.75, allocations: 1.146 MB / 3.373 GB, free: 55.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001713/8.752, allocations: 0.6593 MB / 3.373 GB, free: 55.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/8.752, allocations: 64.8 kB / 3.373 GB, free: 55.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.812e-06/8.752, allocations: 0 / 3.373 GB, free: 55.04 MB / 458.7 MB Notification: Performance of Templates: time 0.08989/8.842, allocations: 52.36 MB / 3.424 GB, free: 50.86 MB / 458.7 MB "" 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