Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.323e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4293, allocations: 54.85 MB / 362.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV): time 0.0651/0.4944, allocations: 33.84 MB / 396.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.5227, allocations: 13.11 MB / 409.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.5242, allocations: 31.75 kB / 409.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.526, allocations: 342.3 kB / 410.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01463/0.5407, allocations: 3.435 MB / 413.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006965/0.5477, allocations: 1.636 MB / 415.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002535/0.5503, allocations: 0.7667 MB / 416 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.5514, allocations: 279.5 kB / 416.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.554, allocations: 0.5491 MB / 416.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009983/0.564, allocations: 3.517 MB / 420.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02035/0.5844, allocations: 6.914 MB / 427.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003538/0.588, allocations: 420 kB / 427.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.5886, allocations: 135.5 kB / 427.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.589, allocations: 80 kB / 427.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.6005, allocations: 3.247 MB / 431.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.6006, allocations: 0 / 431.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.97e-06/0.6007, allocations: 0 / 431.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.064e-05/0.6007, allocations: 0 / 431.2 MB, free: 9.348 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006262/0.607, allocations: 1.392 MB / 432.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.6071, allocations: 12.03 kB / 432.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.6108, allocations: 298.8 kB / 432.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.6122, allocations: 0.5006 MB / 433.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.6123, allocations: 45.31 kB / 433.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.6124, allocations: 52 kB / 433.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.6162, allocations: 0.9555 MB / 434.4 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.6163, allocations: 4 kB / 434.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.6164, allocations: 24 kB / 434.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.6165, allocations: 20.94 kB / 434.4 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.6207, allocations: 0.8702 MB / 435.3 MB, free: 5.027 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007849/0.6286, allocations: 4.658 MB / 440 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.6327, allocations: 0.7681 MB / 440.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07322/0.706, allocations: 21.65 MB / 462.4 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.7061, allocations: 38.56 kB / 462.4 MB, free: 6.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.416e-06/0.7061, allocations: 0 / 462.4 MB, free: 6.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.01769/0.7238, allocations: 2.973 MB / 465.4 MB, free: 3.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.724, allocations: 107.4 kB / 465.5 MB, free: 3.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.7248, allocations: 380.9 kB / 465.9 MB, free: 3.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.725, allocations: 33.7 kB / 465.9 MB, free: 3.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.7254, allocations: 335.8 kB / 466.2 MB, free: 2.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.7258, allocations: 205 kB / 466.4 MB, free: 2.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.7259, allocations: 16 kB / 466.5 MB, free: 2.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002452/0.7261, allocations: 366.8 kB / 466.8 MB, free: 2.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.7277, allocations: 317.8 kB / 467.1 MB, free: 1.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.7294, allocations: 0.5109 MB / 467.6 MB, free: 1.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.7311, allocations: 374 kB / 468 MB, free: 1.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7312, allocations: 0 / 468 MB, free: 1.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005805/0.737, allocations: 1.132 MB / 469.1 MB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.7384, allocations: 2.362 MB / 471.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.7385, allocations: 4 kB / 471.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.7418, allocations: 409.3 kB / 471.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.7429, allocations: 151.8 kB / 472 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.7462, allocations: 1.511 MB / 473.6 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7476, allocations: 83.91 kB / 473.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.7477, allocations: 39.98 kB / 473.7 MB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7478, allocations: 4 kB / 473.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00468/0.7524, allocations: 1.002 MB / 474.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.7525, allocations: 8.594 kB / 474.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.7556, allocations: 405.3 kB / 475.1 MB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.7568, allocations: 143.8 kB / 475.2 MB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.76, allocations: 1.495 MB / 476.7 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.7613, allocations: 95.94 kB / 476.8 MB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.7614, allocations: 35.94 kB / 476.9 MB, free: 7.836 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (64): * Single equations (assignments): 62 * 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 8,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005734/0.762, allocations: 213.6 kB / 477.1 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.7622, allocations: 55.34 kB / 477.1 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00892/0.7711, allocations: 3.435 MB / 480.6 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.767e-05/0.7713, allocations: 43.92 kB / 480.6 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7713, allocations: 4 kB / 480.6 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.7714, allocations: 3.984 kB / 480.6 MB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.7842, allocations: 4.72 MB / 485.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.7843, allocations: 4 kB / 485.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.7851, allocations: 103.9 kB / 485.4 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/0.7887, allocations: 0.8788 MB / 486.3 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.7889, allocations: 20 kB / 486.3 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.7924, allocations: 1.945 MB / 488.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7924, allocations: 0 / 488.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006184/0.7986, allocations: 2.266 MB / 490.5 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.7994, allocations: 322.9 kB / 490.9 MB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.7996, allocations: 19.98 kB / 490.9 MB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8007, allocations: 91.7 kB / 491 MB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.8009, allocations: 60.42 kB / 491 MB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.581e-05/0.801, allocations: 28.08 kB / 491 MB, free: 9.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007481/0.8018, allocations: 395 kB / 491.4 MB, free: 8.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8018, allocations: 4 kB / 491.4 MB, free: 8.949 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004999/0.8068, allocations: 1.246 MB / 492.7 MB, free: 7.703 MB / 426.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: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 7,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008124/0.815, allocations: 1.345 MB / 494 MB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00788/0.8229, allocations: 1.79 MB / 495.8 MB, free: 4.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.823, allocations: 0 / 495.8 MB, free: 4.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003117/0.8261, allocations: 0.9885 MB / 496.8 MB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.8292, allocations: 270.7 kB / 497.1 MB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.8358, allocations: 3.151 MB / 0.4885 GB, free: 140 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3553/1.191, allocations: 1.161 MB / 0.4896 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002801/1.194, allocations: 0.7421 MB / 0.4904 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.194, allocations: 59.55 kB / 0.4904 GB, free: 125.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/1.194, allocations: 0.75 kB / 0.4904 GB, free: 125.4 MB / 426.7 MB Notification: Performance of Templates: time 0.09271/1.287, allocations: 40.47 MB / 0.5299 GB, free: 93.35 MB / 426.7 MB "" Variables in the reference:time,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,downstreamPressure.y Variables in the result:Sink.T,Sink.X[1],Sink.flowDirection,Sink.medium.preferredMediumStates,Sink.medium.standardOrderComponents,Sink.nPorts,Sink.p,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.allowFlowReversal,Valve.dp_nominal,Valve.dp_start,Valve.k,Valve.m_flow_nominal,Valve.m_flow_small,Valve.m_flow_start,Valve.opening,Valve.port_a_exposesState,Valve.port_b.h_outflow,Valve.port_b.m_flow,Valve.port_b.p,Valve.port_b_exposesState,Valve.showDesignFlowDirection,Valve.show_T,Valve.show_V_flow,downstreamPressure.duration,downstreamPressure.height,downstreamPressure.offset,downstreamPressure.startTime,downstreamPressure.y,pump.N_const,pump.N_in_internal,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.k,valveOpening.y