Running command: translateModel(BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(BuildingSystems): time 3.143/3.143, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.996e-05/4.011e-05, allocations: 8 kB / 436.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 77.72 MB / 0.5022 GB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.314, allocations: 387.5 MB / 0.8807 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.315, allocations: 83.95 kB / 0.8807 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.548/7.863, allocations: 1.448 GB / 2.329 GB, free: 22.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.05e-06/7.863, allocations: 4 kB / 2.329 GB, free: 22.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0008145/7.863, allocations: 159.8 kB / 2.329 GB, free: 22.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.01396/7.877, allocations: 4.571 MB / 2.334 GB, free: 17.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/7.877, allocations: 8.031 kB / 2.334 GB, free: 17.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/7.883, allocations: 0.8402 MB / 2.335 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02084/7.904, allocations: 6.789 MB / 2.341 GB, free: 9.965 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/7.905, allocations: 263.2 kB / 2.342 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/7.906, allocations: 344 kB / 2.342 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/7.918, allocations: 5.236 MB / 2.347 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/7.918, allocations: 15.88 kB / 2.347 GB, free: 3.875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000696/7.919, allocations: 144 kB / 2.347 GB, free: 3.734 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/7.919, allocations: 80 kB / 2.347 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.454/8.373, allocations: 4.843 MB / 2.352 GB, free: 80.88 MB / 0.698 GB 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.04688/8.42, allocations: 22.69 MB / 2.374 GB, free: 71.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006091/8.426, allocations: 2.588 MB / 2.377 GB, free: 71.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/8.43, allocations: 1.704 MB / 2.378 GB, free: 71.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01816/8.448, allocations: 7.021 MB / 2.385 GB, free: 69.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004124/8.452, allocations: 1.782 MB / 2.387 GB, free: 69.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008937/8.461, allocations: 2.027 MB / 2.389 GB, free: 69.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 1.514e-05/8.461, allocations: 0 / 2.389 GB, free: 69.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=157): time 0.0133/8.475, allocations: 4.559 MB / 2.393 GB, free: 68.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/8.475, allocations: 145.3 kB / 2.393 GB, free: 68.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/8.485, allocations: 4.505 MB / 2.398 GB, free: 68.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00066/8.486, allocations: 74.56 kB / 2.398 GB, free: 68.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002903/8.489, allocations: 2.459 MB / 2.4 GB, free: 67.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/8.49, allocations: 0.5576 MB / 2.401 GB, free: 67.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/8.49, allocations: 57.47 kB / 2.401 GB, free: 67.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001742/8.49, allocations: 408.8 kB / 2.401 GB, free: 67.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/8.493, allocations: 1.468 MB / 2.403 GB, free: 67.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/8.497, allocations: 2.758 MB / 2.405 GB, free: 65.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/8.501, allocations: 1.943 MB / 2.407 GB, free: 65.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.317e-05/8.502, allocations: 12.12 kB / 2.407 GB, free: 65.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01365/8.515, allocations: 5.343 MB / 2.413 GB, free: 65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003126/8.518, allocations: 15.32 MB / 2.428 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/8.519, allocations: 41.16 kB / 2.428 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08279/8.601, allocations: 11.45 MB / 2.439 GB, free: 48.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/8.606, allocations: 0.696 MB / 2.439 GB, free: 48.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009942/8.616, allocations: 4.717 MB / 2.444 GB, free: 47.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006594/8.623, allocations: 361.6 kB / 2.444 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008053/8.623, allocations: 157.8 kB / 2.445 GB, free: 47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/8.623, allocations: 3.875 kB / 2.445 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/8.634, allocations: 4.826 MB / 2.449 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/8.634, allocations: 38.36 kB / 2.449 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08235/8.717, allocations: 11.37 MB / 2.46 GB, free: 46.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/8.721, allocations: 0.6872 MB / 2.461 GB, free: 46.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/8.735, allocations: 7.709 MB / 2.469 GB, free: 43.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006184/8.741, allocations: 346.7 kB / 2.469 GB, free: 43.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000785/8.742, allocations: 160.2 kB / 2.469 GB, free: 43.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001082/8.743, allocations: 284.8 kB / 2.469 GB, free: 42.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/8.745, allocations: 464.5 kB / 2.47 GB, free: 42.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/8.755, allocations: 4.482 MB / 2.474 GB, free: 42.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/8.755, allocations: 20.69 kB / 2.474 GB, free: 42.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.64e-06/8.755, allocations: 7.219 kB / 2.474 GB, free: 42.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01681/8.772, allocations: 6.375 MB / 2.48 GB, free: 41.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03874/8.811, allocations: 13.01 MB / 2.493 GB, free: 39.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/8.811, allocations: 3.031 kB / 2.493 GB, free: 39.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/8.815, allocations: 421.3 kB / 2.494 GB, free: 39.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08265/8.897, allocations: 11.64 MB / 2.505 GB, free: 39.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004392/8.898, allocations: 48.3 kB / 2.505 GB, free: 39.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007961/8.906, allocations: 4.112 MB / 2.509 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-06/8.906, allocations: 0 / 2.509 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/8.932, allocations: 9.012 MB / 2.518 GB, free: 36.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003996/8.936, allocations: 1.098 MB / 2.519 GB, free: 36.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/8.938, allocations: 27.16 kB / 2.519 GB, free: 36.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005517/8.943, allocations: 301.9 kB / 2.519 GB, free: 36.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/8.944, allocations: 107 kB / 2.519 GB, free: 36.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/8.944, allocations: 83.94 kB / 2.519 GB, free: 36.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007969/8.952, allocations: 3.461 MB / 2.523 GB, free: 36.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.178e-06/8.952, allocations: 0 / 2.523 GB, free: 36.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01337/8.966, allocations: 2.815 MB / 2.525 GB, free: 36.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00305/8.969, allocations: 1.287 MB / 2.527 GB, free: 35.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02002/8.989, allocations: 7.218 MB / 2.534 GB, free: 35.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/8.989, allocations: 8.406 kB / 2.534 GB, free: 35.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007345/8.996, allocations: 2.407 MB / 2.536 GB, free: 35.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01582/9.012, allocations: 2.714 MB / 2.539 GB, free: 35.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/9.031, allocations: 7.716 MB / 2.546 GB, free: 33.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006548/9.038, allocations: 3.314 MB / 2.55 GB, free: 48.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0143/9.052, allocations: 3.078 MB / 2.553 GB, free: 47.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/9.054, allocations: 267.9 kB / 2.553 GB, free: 47.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.069e-06/9.054, allocations: 3.75 kB / 2.553 GB, free: 47.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.7624/9.816, allocations: 123.8 MB / 2.674 GB, free: 74 MB / 0.7136 GB