Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.316e-05, allocations: 0 / 273.1 MB, free: 3.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08784, allocations: 48.69 MB / 321.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.408/6.496, allocations: 2.502 GB / 2.816 GB, free: 98.08 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/6.496, allocations: 79.75 kB / 2.816 GB, free: 98.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.8/8.296, allocations: 425.6 MB / 3.232 GB, free: 43.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/8.296, allocations: 0 / 3.232 GB, free: 43.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.683e-05/8.296, allocations: 17.88 kB / 3.232 GB, free: 43.87 MB / 442.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.005973/8.302, allocations: 1.704 MB / 3.234 GB, free: 42.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/8.303, allocations: 10.91 kB / 3.234 GB, free: 42.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/8.306, allocations: 312.1 kB / 3.234 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/8.307, allocations: 0.5847 MB / 3.235 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/8.307, allocations: 45.91 kB / 3.235 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/8.307, allocations: 59.77 kB / 3.235 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/8.31, allocations: 0.9555 MB / 3.236 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/8.31, allocations: 3.031 kB / 3.236 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/8.31, allocations: 30.61 kB / 3.236 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/8.31, allocations: 21.16 kB / 3.236 GB, free: 41.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/8.313, allocations: 0.7901 MB / 3.236 GB, free: 41.7 MB / 442.7 MB 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.004869/8.318, allocations: 4.455 MB / 3.241 GB, free: 37.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/8.32, allocations: 0.7062 MB / 3.241 GB, free: 37.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/8.321, allocations: 239.1 kB / 3.242 GB, free: 37.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.471/8.792, allocations: 83.36 MB / 3.323 GB, free: 55.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/8.792, allocations: 40.28 kB / 3.323 GB, free: 55.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 3.387e-06/8.792, allocations: 0 / 3.323 GB, free: 55.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.006399/8.798, allocations: 1.827 MB / 3.325 GB, free: 54.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/8.798, allocations: 109.2 kB / 3.325 GB, free: 54.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/8.799, allocations: 422.1 kB / 3.325 GB, free: 54.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/8.799, allocations: 33.77 kB / 3.325 GB, free: 54.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/8.799, allocations: 339.6 kB / 3.326 GB, free: 54.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/8.8, allocations: 176.8 kB / 3.326 GB, free: 54.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/8.8, allocations: 13.06 kB / 3.326 GB, free: 54.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/8.8, allocations: 368.3 kB / 3.326 GB, free: 53.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/8.8, allocations: 197.8 kB / 3.327 GB, free: 53.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/8.801, allocations: 385.6 kB / 3.327 GB, free: 53.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/8.801, allocations: 243.9 kB / 3.327 GB, free: 53.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/8.801, allocations: 3.219 kB / 3.327 GB, free: 53.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002287/8.804, allocations: 0.8091 MB / 3.328 GB, free: 53.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004371/8.804, allocations: 2.186 MB / 3.33 GB, free: 51.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/8.804, allocations: 6.469 kB / 3.33 GB, free: 51.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/8.807, allocations: 367.8 kB / 3.33 GB, free: 51.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/8.807, allocations: 142.9 kB / 3.331 GB, free: 51.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/8.808, allocations: 0.8726 MB / 3.331 GB, free: 50.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/8.81, allocations: 91.53 kB / 3.331 GB, free: 50.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/8.81, allocations: 37.03 kB / 3.332 GB, free: 50.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/8.81, allocations: 3.562 kB / 3.332 GB, free: 50.8 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002317/8.812, allocations: 0.7678 MB / 3.332 GB, free: 50.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/8.812, allocations: 6.328 kB / 3.332 GB, free: 50.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/8.814, allocations: 282.6 kB / 3.333 GB, free: 50.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/8.814, allocations: 143.8 kB / 3.333 GB, free: 50.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/8.816, allocations: 0.8276 MB / 3.333 GB, free: 50.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/8.817, allocations: 92.42 kB / 3.334 GB, free: 50.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/8.817, allocations: 34.78 kB / 3.334 GB, free: 50.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002495/8.817, allocations: 148.8 kB / 3.334 GB, free: 50.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/8.817, allocations: 56.67 kB / 3.334 GB, free: 50.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/8.821, allocations: 2.849 MB / 3.337 GB, free: 49.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/8.821, allocations: 41.3 kB / 3.337 GB, free: 49.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-06/8.821, allocations: 1.5 kB / 3.337 GB, free: 49.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/8.821, allocations: 7.453 kB / 3.337 GB, free: 49.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/8.826, allocations: 3.959 MB / 3.34 GB, free: 49.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.968e-06/8.826, allocations: 0 / 3.34 GB, free: 49.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/8.827, allocations: 173.6 kB / 3.341 GB, free: 49.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/8.828, allocations: 67.92 kB / 3.341 GB, free: 49.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/8.828, allocations: 18.45 kB / 3.341 GB, free: 49.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006182/8.828, allocations: 1.18 MB / 3.342 GB, free: 48.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-06/8.828, allocations: 0.9375 kB / 3.342 GB, free: 48.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/8.832, allocations: 2.361 MB / 3.344 GB, free: 48.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/8.833, allocations: 315.8 kB / 3.344 GB, free: 47.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/8.833, allocations: 16.36 kB / 3.345 GB, free: 47.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/8.833, allocations: 78.69 kB / 3.345 GB, free: 47.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/8.834, allocations: 57.55 kB / 3.345 GB, free: 47.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/8.834, allocations: 21.52 kB / 3.345 GB, free: 47.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005814/8.834, allocations: 383.4 kB / 3.345 GB, free: 47.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.5e-07/8.834, allocations: 2.875 kB / 3.345 GB, free: 47.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005373/8.84, allocations: 1.383 MB / 3.346 GB, free: 47.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008692/8.848, allocations: 1.722 MB / 3.348 GB, free: 47.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00292/8.851, allocations: 1.274 MB / 3.349 GB, free: 47.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.794e-06/8.851, allocations: 0 / 3.349 GB, free: 47.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/8.853, allocations: 0.8009 MB / 3.35 GB, free: 47.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/8.855, allocations: 292.5 kB / 3.35 GB, free: 47.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1894/9.045, allocations: 75.83 MB / 3.424 GB, free: 41.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/9.045, allocations: 1.164 MB / 3.426 GB, free: 40.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00166/9.047, allocations: 0.6698 MB / 3.426 GB, free: 40.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/9.047, allocations: 58.78 kB / 3.426 GB, free: 40.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/9.047, allocations: 0 / 3.426 GB, free: 40.34 MB / 458.7 MB Notification: Performance of Templates: time 0.07903/9.126, allocations: 45.26 MB / 3.47 GB, free: 8.867 MB / 458.7 MB