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 2.096/2.096, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.165e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3624, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.062/0.4244, allocations: 33.98 MB / 358.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03649/0.461, allocations: 16.15 MB / 375 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.4626, allocations: 31.75 kB / 375 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.4647, allocations: 394 kB / 375.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02129/0.4861, allocations: 3.587 MB / 379 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01618/0.5023, allocations: 2.586 MB / 381.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.5054, allocations: 0.8143 MB / 382.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.5063, allocations: 291.5 kB / 382.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.5086, allocations: 0.5765 MB / 383.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02209/0.5308, allocations: 6.18 MB / 389.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02373/0.5546, allocations: 6.954 MB / 396.4 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003274/0.5579, allocations: 423.9 kB / 396.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.5584, allocations: 143.5 kB / 397 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.5588, allocations: 83.94 kB / 397 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.5699, allocations: 3.317 MB / 400.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.57, allocations: 0 / 400.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.57, allocations: 4 kB / 400.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.5701, allocations: 3.938 kB / 400.4 MB, free: 3.875 MB / 330.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.006212/0.5763, allocations: 1.458 MB / 401.8 MB, free: 2.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.5764, allocations: 12.03 kB / 401.8 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.5798, allocations: 294.8 kB / 402.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.5813, allocations: 0.52 MB / 402.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.5814, allocations: 49.31 kB / 402.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.5815, allocations: 55.95 kB / 402.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.5856, allocations: 0.9985 MB / 403.7 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.5857, allocations: 7.938 kB / 403.8 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.5859, allocations: 31.94 kB / 403.8 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/0.5859, allocations: 21 kB / 403.8 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.5906, allocations: 0.9404 MB / 404.7 MB, free: 15.34 MB / 346.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.008212/0.5988, allocations: 4.655 MB / 409.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.6031, allocations: 0.8005 MB / 410.2 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06557/0.6688, allocations: 18.57 MB / 428.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.6689, allocations: 38.89 kB / 428.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 3.747e-06/0.6689, allocations: 0 / 428.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.05103/0.7199, allocations: 4.382 MB / 433.2 MB, free: 108 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.7201, allocations: 115.4 kB / 433.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.721, allocations: 413.9 kB / 433.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.7212, allocations: 37.7 kB / 433.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.7216, allocations: 351.7 kB / 434.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.722, allocations: 224.7 kB / 434.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.7221, allocations: 12 kB / 434.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.7223, allocations: 378.8 kB / 434.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.7243, allocations: 409.7 kB / 435.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.7267, allocations: 0.6266 MB / 435.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.729, allocations: 473.8 kB / 436.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.729, allocations: 0 / 436.2 MB, free: 12.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00598/0.735, allocations: 1.316 MB / 437.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.7363, allocations: 2.621 MB / 440.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.7364, allocations: 8 kB / 440.1 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006789/0.7432, allocations: 0.8367 MB / 441 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.7446, allocations: 187.7 kB / 441.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.7486, allocations: 1.675 MB / 442.8 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.7503, allocations: 111.9 kB / 442.9 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.7506, allocations: 43.98 kB / 443 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7506, allocations: 4 kB / 443 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006215/0.7568, allocations: 1.264 MB / 444.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.7569, allocations: 8 kB / 444.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/0.761, allocations: 0.587 MB / 444.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.7626, allocations: 191.8 kB / 445 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.767, allocations: 1.635 MB / 446.7 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.7688, allocations: 107.9 kB / 446.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.7691, allocations: 51.95 kB / 446.8 MB, free: 1.984 MB / 378.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 (72): * Single equations (assignments): 70 * 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 9,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007673/0.7699, allocations: 225.6 kB / 447 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.7702, allocations: 71.09 kB / 447.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009793/0.78, allocations: 3.586 MB / 450.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.7801, allocations: 39.94 kB / 450.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7801, allocations: 4 kB / 450.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.7802, allocations: 3.984 kB / 450.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.792, allocations: 4.882 MB / 455.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.7921, allocations: 4.062 kB / 455.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7931, allocations: 135.8 kB / 455.8 MB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007329/0.8005, allocations: 1.594 MB / 457.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.8007, allocations: 23.98 kB / 457.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/0.8053, allocations: 2.342 MB / 459.7 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.8054, allocations: 8.016 kB / 459.7 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00722/0.8126, allocations: 2.458 MB / 462.2 MB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008027/0.8135, allocations: 327 kB / 462.5 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.8137, allocations: 23.88 kB / 462.5 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.8153, allocations: 111.8 kB / 462.6 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.8157, allocations: 60.56 kB / 462.7 MB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.8158, allocations: 35.92 kB / 462.7 MB, free: 1.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009567/0.8168, allocations: 419 kB / 463.1 MB, free: 1.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.8169, allocations: 0 / 463.1 MB, free: 1.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006651/0.8235, allocations: 1.378 MB / 464.5 MB, free: 56 kB / 394.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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 7,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008755/0.8323, allocations: 1.407 MB / 465.9 MB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008368/0.8408, allocations: 2.026 MB / 467.9 MB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.8408, allocations: 8 kB / 468 MB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003195/0.844, allocations: 1.019 MB / 469 MB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.8468, allocations: 289.8 kB / 469.3 MB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007133/0.854, allocations: 3.045 MB / 472.3 MB, free: 8.234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000966/0.855, allocations: 1.14 MB / 473.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002354/0.8574, allocations: 0.6647 MB / 474.1 MB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.8577, allocations: 55.42 kB / 474.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.8577, allocations: 0 / 474.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of Templates: time 0.3958/1.254, allocations: 45.32 MB / 0.5073 GB, free: 111.6 MB / 410.7 MB