Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.507/2.507, allocations: 234.9 MB / 249.5 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.387e-05/4.385e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4155, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.06129/0.4768, allocations: 34.2 MB / 397.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03501/0.5119, allocations: 16.23 MB / 413.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.5132, allocations: 31.75 kB / 413.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.5151, allocations: 398 kB / 413.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01514/0.5303, allocations: 3.626 MB / 417.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.5413, allocations: 2.6 MB / 420 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.5441, allocations: 0.8338 MB / 420.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.5451, allocations: 312 kB / 421.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.5472, allocations: 0.5765 MB / 421.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01669/0.5639, allocations: 6.512 MB / 428.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0205/0.5845, allocations: 7.063 MB / 435.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002983/0.5875, allocations: 439.9 kB / 435.7 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.588, allocations: 143.5 kB / 435.8 MB, free: 4.668 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.5884, allocations: 91.94 kB / 435.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.599, allocations: 3.368 MB / 439.3 MB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5991, allocations: 0 / 439.3 MB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5991, allocations: 0 / 439.3 MB, free: 1.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.5992, allocations: 0 / 439.3 MB, free: 1.203 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005609/0.6048, allocations: 1.466 MB / 440.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6048, allocations: 8.031 kB / 440.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.6083, allocations: 310.8 kB / 441.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.6097, allocations: 0.5278 MB / 441.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.6098, allocations: 45.31 kB / 441.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.61, allocations: 63.91 kB / 441.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.6138, allocations: 0.9749 MB / 442.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.6139, allocations: 11.94 kB / 442.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.614, allocations: 23.94 kB / 442.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.6141, allocations: 29.3 kB / 442.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.6185, allocations: 0.9144 MB / 443.6 MB, free: 12.69 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.007691/0.6262, allocations: 4.352 MB / 448 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/0.6302, allocations: 0.7538 MB / 448.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7672/1.397, allocations: 80.04 MB / 0.5164 GB, free: 60.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.398, allocations: 37.59 kB / 0.5164 GB, free: 60.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.497e-06/1.398, allocations: 0 / 0.5164 GB, free: 60.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.01525/1.413, allocations: 2.294 MB / 0.5187 GB, free: 60.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/1.413, allocations: 117.2 kB / 0.5188 GB, free: 60.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.414, allocations: 427.8 kB / 0.5192 GB, free: 60.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/1.414, allocations: 36.98 kB / 0.5192 GB, free: 60 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/1.415, allocations: 331.2 kB / 0.5195 GB, free: 59.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/1.415, allocations: 183.9 kB / 0.5197 GB, free: 59.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/1.415, allocations: 13.72 kB / 0.5197 GB, free: 59.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/1.416, allocations: 368 kB / 0.5201 GB, free: 59.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.417, allocations: 259.7 kB / 0.5203 GB, free: 59.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.418, allocations: 470.8 kB / 0.5208 GB, free: 59.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.42, allocations: 311.8 kB / 0.5211 GB, free: 59.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/1.42, allocations: 3.5 kB / 0.5211 GB, free: 59.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004015/1.424, allocations: 0.9735 MB / 0.522 GB, free: 58.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008181/1.425, allocations: 2.361 MB / 0.5243 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.138e-05/1.425, allocations: 4 kB / 0.5243 GB, free: 56.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003856/1.429, allocations: 428.6 kB / 0.5248 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.43, allocations: 137.4 kB / 0.5249 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.432, allocations: 0.9302 MB / 0.5258 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.434, allocations: 100.9 kB / 0.5259 GB, free: 55.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/1.434, allocations: 35.98 kB / 0.5259 GB, free: 55.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.434, allocations: 4 kB / 0.5259 GB, free: 55.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004546/1.439, allocations: 0.9241 MB / 0.5268 GB, free: 54.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/1.439, allocations: 8 kB / 0.5268 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/1.441, allocations: 312.9 kB / 0.5271 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.442, allocations: 154.1 kB / 0.5273 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/1.444, allocations: 0.8734 MB / 0.5281 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.445, allocations: 84.12 kB / 0.5282 GB, free: 53.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/1.445, allocations: 33.78 kB / 0.5282 GB, free: 53.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004901/1.446, allocations: 213.1 kB / 0.5284 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/1.446, allocations: 63.25 kB / 0.5285 GB, free: 53.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/1.451, allocations: 2.737 MB / 0.5312 GB, free: 51.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-05/1.451, allocations: 43.14 kB / 0.5312 GB, free: 51.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.451, allocations: 3.812 kB / 0.5312 GB, free: 51.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/1.451, allocations: 4.656 kB / 0.5312 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006598/1.458, allocations: 3.751 MB / 0.5349 GB, free: 49.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.458, allocations: 0 / 0.5349 GB, free: 49.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/1.459, allocations: 148.3 kB / 0.535 GB, free: 48.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005739/1.46, allocations: 99.27 kB / 0.5351 GB, free: 48.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/1.46, allocations: 14.81 kB / 0.5351 GB, free: 48.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000879/1.46, allocations: 1.142 MB / 0.5363 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.461, allocations: 0.8438 kB / 0.5363 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/1.466, allocations: 2.268 MB / 0.5385 GB, free: 46.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/1.466, allocations: 343.2 kB / 0.5388 GB, free: 45.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.467, allocations: 13.44 kB / 0.5388 GB, free: 45.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009857/1.468, allocations: 67.05 kB / 0.5389 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.468, allocations: 51.55 kB / 0.5389 GB, free: 45.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/1.468, allocations: 20.17 kB / 0.5389 GB, free: 45.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008373/1.469, allocations: 455 kB / 0.5394 GB, free: 45.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.533e-06/1.469, allocations: 4 kB / 0.5394 GB, free: 45.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004772/1.474, allocations: 1.289 MB / 0.5406 GB, free: 44.33 MB / 426.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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00868/1.482, allocations: 1.378 MB / 0.542 GB, free: 43.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004994/1.487, allocations: 1.42 MB / 0.5434 GB, free: 42.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.487, allocations: 0 / 0.5434 GB, free: 42.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/1.49, allocations: 0.7588 MB / 0.5441 GB, free: 41.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.492, allocations: 289.2 kB / 0.5444 GB, free: 41.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/1.498, allocations: 3.172 MB / 0.5475 GB, free: 38.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/1.499, allocations: 1.149 MB / 0.5486 GB, free: 37.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00195/1.501, allocations: 0.6461 MB / 0.5492 GB, free: 37.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/1.501, allocations: 58.05 kB / 0.5493 GB, free: 36.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/1.501, allocations: 0 / 0.5493 GB, free: 36.96 MB / 426.7 MB Notification: Performance of Templates: time 0.08877/1.59, allocations: 39.63 MB / 0.588 GB, free: 13.62 MB / 442.7 MB