Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 223.8 MB, free: 1.609 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.192e-05, allocations: 8 kB / 276.2 MB, free: 15.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 48.7 MB / 324.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics): time 0.3783/0.4846, allocations: 59.48 MB / 384.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03918/0.5238, allocations: 18.83 MB / 403.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.5265, allocations: 63.5 kB / 403.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.5298, allocations: 0.7306 MB / 404 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.5496, allocations: 4.603 MB / 408.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.5618, allocations: 2.777 MB / 411.4 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00519/0.567, allocations: 1.782 MB / 413.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.5686, allocations: 0.622 MB / 413.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.5722, allocations: 1.102 MB / 414.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03528/0.6076, allocations: 12.83 MB / 427.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02312/0.6307, allocations: 7.598 MB / 435.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.6343, allocations: 460 kB / 435.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008462/0.6352, allocations: 310.9 kB / 436 MB, free: 9.598 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008571/0.6361, allocations: 180 kB / 436.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.6482, allocations: 4.396 MB / 440.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6482, allocations: 8 kB / 440.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.24e-06/0.6483, allocations: 0 / 440.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-05/0.6483, allocations: 7.875 kB / 440.6 MB, free: 5 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008129/0.6565, allocations: 2.079 MB / 442.7 MB, free: 2.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.6566, allocations: 12.03 kB / 442.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.6616, allocations: 449.7 kB / 443.2 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.6643, allocations: 0.8963 MB / 444.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.6645, allocations: 102.5 kB / 444.2 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.6648, allocations: 124 kB / 444.3 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007652/0.6725, allocations: 1.968 MB / 446.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.6726, allocations: 3.938 kB / 446.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.6728, allocations: 67.94 kB / 446.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.6729, allocations: 58.22 kB / 446.4 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008213/0.6812, allocations: 1.773 MB / 448.2 MB, free: 13.25 MB / 378.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.0165/0.6977, allocations: 9.43 MB / 457.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/0.7039, allocations: 1.186 MB / 458.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/0.718, allocations: 5.444 MB / 464.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.7181, allocations: 51.5 kB / 464.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 3.196e-06/0.7181, allocations: 0 / 464.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.05574/0.7739, allocations: 7.719 MB / 472 MB, free: 3.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.774, allocations: 120.1 kB / 472.1 MB, free: 3.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.7755, allocations: 0.7013 MB / 472.8 MB, free: 2.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.7758, allocations: 57.64 kB / 472.9 MB, free: 2.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/0.7765, allocations: 0.6508 MB / 473.5 MB, free: 1.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/0.7771, allocations: 449.4 kB / 473.9 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.7773, allocations: 32 kB / 474 MB, free: 1.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7775, allocations: 361.9 kB / 474.3 MB, free: 1.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/0.7804, allocations: 0.6598 MB / 475 MB, free: 464 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.7838, allocations: 1.081 MB / 476.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.787, allocations: 0.7598 MB / 476.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.787, allocations: 8 kB / 476.8 MB, free: 14.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.01206/0.7991, allocations: 2.571 MB / 479.4 MB, free: 11.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002356/0.8015, allocations: 5.05 MB / 484.5 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.803e-05/0.8016, allocations: 16 kB / 484.5 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008413/0.81, allocations: 1.119 MB / 485.6 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.8134, allocations: 395.4 kB / 486 MB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.8313, allocations: 10.31 MB / 496.3 MB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.8341, allocations: 180.1 kB / 496.5 MB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.8344, allocations: 83.97 kB / 496.5 MB, free: 9.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8344, allocations: 4 kB / 496.6 MB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01177/0.8462, allocations: 2.438 MB / 499 MB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.8463, allocations: 20.19 kB / 499 MB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007356/0.8537, allocations: 0.9863 MB / 500 MB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/0.8573, allocations: 419.4 kB / 0.4887 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2912/1.149, allocations: 10.14 MB / 0.4986 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.151, allocations: 183.2 kB / 0.4988 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/1.152, allocations: 78.27 kB / 0.4988 GB, free: 139.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 5 {2 6,2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001069/1.153, allocations: 367.4 kB / 0.4992 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/1.153, allocations: 124.1 kB / 0.4993 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.169, allocations: 5.271 MB / 0.5044 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.488e-05/1.17, allocations: 42.12 kB / 0.5045 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.17, allocations: 4.5 kB / 0.5045 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-05/1.17, allocations: 7.453 kB / 0.5045 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/1.191, allocations: 7.879 MB / 0.5122 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/1.191, allocations: 1.125 kB / 0.5122 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/1.194, allocations: 276.3 kB / 0.5125 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009148/1.203, allocations: 1.835 MB / 0.5142 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/1.203, allocations: 35 kB / 0.5143 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/1.218, allocations: 11.33 MB / 0.5253 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.219, allocations: 4.734 kB / 0.5253 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/1.231, allocations: 4.056 MB / 0.5293 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.232, allocations: 432.8 kB / 0.5297 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/1.233, allocations: 31.86 kB / 0.5297 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.235, allocations: 209.6 kB / 0.5299 GB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/1.235, allocations: 142.1 kB / 0.5301 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.235, allocations: 49.66 kB / 0.5301 GB, free: 121.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001066/1.236, allocations: 0.6078 MB / 0.5307 GB, free: 121.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.236, allocations: 0 / 0.5307 GB, free: 121.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006819/1.243, allocations: 1.836 MB / 0.5325 GB, free: 121.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 5 {2 10,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007878/1.251, allocations: 1.647 MB / 0.5341 GB, free: 121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01616/1.267, allocations: 4.177 MB / 0.5382 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.267, allocations: 3.812 kB / 0.5382 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005838/1.273, allocations: 1.972 MB / 0.5401 GB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.278, allocations: 0.5206 MB / 0.5406 GB, free: 116.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/1.288, allocations: 4.694 MB / 0.5452 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/1.289, allocations: 1.473 MB / 0.5467 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003222/1.292, allocations: 0.9615 MB / 0.5476 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/1.293, allocations: 83.42 kB / 0.5477 GB, free: 108.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.293, allocations: 0 / 0.5477 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Templates: time 0.133/1.426, allocations: 63.86 MB / 0.61 GB, free: 45.13 MB / 426.7 MB