Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.257e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.042/7.156, allocations: 2.787 GB / 3.188 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/7.156, allocations: 84.27 kB / 3.188 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.882/9.038, allocations: 443.3 MB / 3.621 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.836e-06/9.038, allocations: 0 / 3.621 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.696e-05/9.038, allocations: 20.97 kB / 3.621 GB, free: 58.79 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.006011/9.044, allocations: 1.741 MB / 3.622 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/9.044, allocations: 14.16 kB / 3.622 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/9.048, allocations: 327.8 kB / 3.623 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/9.049, allocations: 0.573 MB / 3.623 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/9.049, allocations: 50.56 kB / 3.623 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/9.049, allocations: 52.53 kB / 3.623 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/9.052, allocations: 0.9596 MB / 3.624 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/9.052, allocations: 5.719 kB / 3.624 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/9.052, allocations: 30.77 kB / 3.624 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/9.052, allocations: 18.84 kB / 3.624 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/9.055, allocations: 0.8015 MB / 3.625 GB, free: 56.72 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.006001/9.061, allocations: 4.796 MB / 3.63 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/9.063, allocations: 0.6276 MB / 3.63 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/9.064, allocations: 219.7 kB / 3.631 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05258/9.116, allocations: 24.17 MB / 3.654 GB, free: 37.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/9.116, allocations: 38.53 kB / 3.654 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 5.04e-06/9.116, allocations: 4 kB / 3.654 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.004357/9.121, allocations: 1.01 MB / 3.655 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/9.121, allocations: 118.3 kB / 3.655 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/9.121, allocations: 449.3 kB / 3.656 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/9.122, allocations: 29.7 kB / 3.656 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/9.122, allocations: 349.1 kB / 3.656 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/9.122, allocations: 148.9 kB / 3.656 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/9.122, allocations: 11.09 kB / 3.656 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001018/9.122, allocations: 362.8 kB / 3.657 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/9.122, allocations: 168.3 kB / 3.657 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/9.123, allocations: 343.2 kB / 3.657 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/9.123, allocations: 204.9 kB / 3.657 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.044e-06/9.123, allocations: 0 / 3.657 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001601/9.125, allocations: 0.6356 MB / 3.658 GB, free: 34.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004091/9.126, allocations: 2.012 MB / 3.66 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/9.126, allocations: 4.938 kB / 3.66 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/9.127, allocations: 264.9 kB / 3.66 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/9.128, allocations: 133.5 kB / 3.66 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009671/9.129, allocations: 0.7563 MB / 3.661 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/9.13, allocations: 118.5 kB / 3.661 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/9.13, allocations: 39.09 kB / 3.661 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/9.131, allocations: 3.844 kB / 3.661 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/9.132, allocations: 0.5928 MB / 3.662 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/9.133, allocations: 2.938 kB / 3.662 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/9.134, allocations: 179.4 kB / 3.662 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/9.134, allocations: 132.7 kB / 3.662 GB, free: 31.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007338/9.135, allocations: 0.7123 MB / 3.663 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/9.136, allocations: 107 kB / 3.663 GB, free: 31.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/9.136, allocations: 29.31 kB / 3.663 GB, free: 31.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 54 * 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.0002382/9.136, allocations: 154 kB / 3.663 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/9.137, allocations: 60.88 kB / 3.663 GB, free: 31.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/9.141, allocations: 2.986 MB / 3.666 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/9.141, allocations: 38.27 kB / 3.666 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-06/9.141, allocations: 4 kB / 3.666 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/9.141, allocations: 7.516 kB / 3.666 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/9.143, allocations: 1.455 MB / 3.668 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.243e-06/9.143, allocations: 0 / 3.668 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/9.143, allocations: 87.61 kB / 3.668 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/9.146, allocations: 1.214 MB / 3.669 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/9.146, allocations: 11.73 kB / 3.669 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/9.148, allocations: 1.479 MB / 3.67 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.132e-06/9.148, allocations: 0 / 3.67 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/9.151, allocations: 1.959 MB / 3.672 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/9.152, allocations: 334.2 kB / 3.672 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/9.152, allocations: 10.94 kB / 3.672 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/9.153, allocations: 85.7 kB / 3.673 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/9.153, allocations: 46.83 kB / 3.673 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/9.153, allocations: 23.75 kB / 3.673 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007142/9.154, allocations: 450.9 kB / 3.673 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.82e-07/9.154, allocations: 3.375 kB / 3.673 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005466/9.159, allocations: 1.425 MB / 3.674 GB, free: 25.75 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: 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,$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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.008534/9.168, allocations: 1.725 MB / 3.676 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002553/9.17, allocations: 1.116 MB / 3.677 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.599e-06/9.17, allocations: 4.062 kB / 3.677 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/9.171, allocations: 0.716 MB / 3.678 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/9.174, allocations: 310.1 kB / 3.678 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/9.177, allocations: 1.751 MB / 3.68 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/9.177, allocations: 1.162 MB / 3.681 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001635/9.179, allocations: 0.6769 MB / 3.682 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/9.179, allocations: 49.27 kB / 3.682 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-06/9.179, allocations: 0 / 3.682 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of Templates: time 0.1413/9.321, allocations: 45.35 MB / 3.726 GB, free: 7.316 MB / 0.5417 GB