Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.518e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4131, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.1062/0.5193, allocations: 59.6 MB / 422.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04876/0.5681, allocations: 21.76 MB / 444.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.5708, allocations: 63.5 kB / 444.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.5744, allocations: 0.7619 MB / 445.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02134/0.5958, allocations: 4.552 MB / 449.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01811/0.6139, allocations: 3.988 MB / 453.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.6193, allocations: 1.691 MB / 455.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.621, allocations: 0.6112 MB / 455.9 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.6248, allocations: 1.063 MB / 457 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04598/0.6708, allocations: 11.62 MB / 468.6 MB, free: 3.848 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07918/0.7501, allocations: 13.21 MB / 481.8 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004765/0.7549, allocations: 480 kB / 482.3 MB, free: 6.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.7561, allocations: 294.9 kB / 482.6 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.7573, allocations: 175.9 kB / 482.7 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.7774, allocations: 4.4 MB / 487.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7775, allocations: 0 / 487.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.7775, allocations: 0 / 487.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001204/0.7776, allocations: 0 / 487.1 MB, free: 1.289 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.009851/0.7875, allocations: 2.207 MB / 489.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.7876, allocations: 12.03 kB / 489.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007432/0.795, allocations: 0.6108 MB / 490 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.7986, allocations: 0.9079 MB / 490.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.799, allocations: 98.22 kB / 491 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006116/0.7996, allocations: 108 kB / 491.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009869/0.8095, allocations: 2 MB / 493.1 MB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.8097, allocations: 7.938 kB / 493.1 MB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.8099, allocations: 59.95 kB / 493.1 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.81, allocations: 49.95 kB / 493.2 MB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.8201, allocations: 1.889 MB / 495.1 MB, free: 9.09 MB / 426.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.3559/1.176, allocations: 9.523 MB / 0.4928 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009195/1.185, allocations: 1.673 MB / 0.4944 GB, free: 122.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0679/1.253, allocations: 21.8 MB / 0.5157 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/1.253, allocations: 50.12 kB / 0.5158 GB, free: 105.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=94): time 4.389e-06/1.253, allocations: 0 / 0.5158 GB, free: 105.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=134): time 0.08092/1.334, allocations: 9.032 MB / 0.5246 GB, free: 97.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/1.334, allocations: 171.5 kB / 0.5247 GB, free: 96.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.336, allocations: 0.7474 MB / 0.5255 GB, free: 96.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003362/1.336, allocations: 45.7 kB / 0.5255 GB, free: 96.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000444/1.337, allocations: 0.6184 MB / 0.5261 GB, free: 95.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005943/1.337, allocations: 448.6 kB / 0.5265 GB, free: 95.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.338, allocations: 28 kB / 0.5266 GB, free: 95.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/1.338, allocations: 369.9 kB / 0.5269 GB, free: 94.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.341, allocations: 0.8432 MB / 0.5277 GB, free: 93.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/1.345, allocations: 1.265 MB / 0.529 GB, free: 92.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/1.35, allocations: 0.9648 MB / 0.5299 GB, free: 91.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.35, allocations: 4 kB / 0.5299 GB, free: 91.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01197/1.362, allocations: 2.67 MB / 0.5325 GB, free: 88.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001585/1.363, allocations: 4.608 MB / 0.537 GB, free: 83.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.967e-05/1.364, allocations: 12 kB / 0.537 GB, free: 83.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.374, allocations: 1.349 MB / 0.5384 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/1.377, allocations: 403.4 kB / 0.5387 GB, free: 82.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/1.384, allocations: 3.302 MB / 0.542 GB, free: 78.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/1.387, allocations: 226.8 kB / 0.5422 GB, free: 78.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/1.388, allocations: 91.95 kB / 0.5423 GB, free: 78.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.388, allocations: 5.094 kB / 0.5423 GB, free: 78.35 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009633/1.397, allocations: 2.359 MB / 0.5446 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/1.397, allocations: 15.94 kB / 0.5446 GB, free: 75.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/1.4, allocations: 0.6031 MB / 0.5452 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005064/1.406, allocations: 0.511 MB / 0.5457 GB, free: 74.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/1.41, allocations: 1.761 MB / 0.5474 GB, free: 73.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.413, allocations: 227.7 kB / 0.5476 GB, free: 72.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/1.413, allocations: 83.95 kB / 0.5477 GB, free: 72.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001045/1.415, allocations: 343.3 kB / 0.548 GB, free: 72.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/1.415, allocations: 134.4 kB / 0.5482 GB, free: 72.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.432, allocations: 7.35 MB / 0.5553 GB, free: 64.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/1.432, allocations: 79.88 kB / 0.5554 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.432, allocations: 0 / 0.5554 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/1.432, allocations: 7.969 kB / 0.5554 GB, free: 64.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/1.455, allocations: 9.988 MB / 0.5652 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/1.455, allocations: 4 kB / 0.5652 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.458, allocations: 303.8 kB / 0.5655 GB, free: 54.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/1.468, allocations: 2.422 MB / 0.5678 GB, free: 52.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002987/1.469, allocations: 39.97 kB / 0.5679 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007867/1.477, allocations: 4.48 MB / 0.5722 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.477, allocations: 0 / 0.5722 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.49, allocations: 5.034 MB / 0.5772 GB, free: 42.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.491, allocations: 0.5399 MB / 0.5777 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/1.492, allocations: 31.98 kB / 0.5777 GB, free: 41.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/1.495, allocations: 223.6 kB / 0.5779 GB, free: 41.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006982/1.496, allocations: 133.1 kB / 0.5781 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/1.496, allocations: 59.91 kB / 0.5781 GB, free: 41.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001459/1.498, allocations: 0.6578 MB / 0.5788 GB, free: 40.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.498, allocations: 0 / 0.5788 GB, free: 40.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009162/1.507, allocations: 1.798 MB / 0.5805 GB, free: 38.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.008864/1.516, allocations: 1.593 MB / 0.5821 GB, free: 37.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02218/1.538, allocations: 4.329 MB / 0.5863 GB, free: 33.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.982e-05/1.538, allocations: 4 kB / 0.5863 GB, free: 33.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01059/1.549, allocations: 2.297 MB / 0.5885 GB, free: 30.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008024/1.557, allocations: 0.5578 MB / 0.5891 GB, free: 30.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.575, allocations: 6.049 MB / 0.595 GB, free: 24.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/1.577, allocations: 1.648 MB / 0.5966 GB, free: 22.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007562/1.584, allocations: 1.575 MB / 0.5981 GB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/1.585, allocations: 107.4 kB / 0.5982 GB, free: 21.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.625e-06/1.585, allocations: 0 / 0.5982 GB, free: 21.02 MB / 426.7 MB Notification: Performance of Templates: time 0.1801/1.766, allocations: 65.26 MB / 0.662 GB, free: 3.762 MB / 474.7 MB