Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadModel(Buildings): time 3.515/3.515, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.011e-05, allocations: 11.94 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4951, allocations: 92.68 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.543, allocations: 392 MB / 0.9723 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.543, allocations: 96.67 kB / 0.9724 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.636/4.18, allocations: 0.5949 GB / 1.567 GB, free: 62.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.054e-06/4.18, allocations: 0 / 1.567 GB, free: 62.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001797/4.18, allocations: 40 kB / 1.567 GB, free: 62.73 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004267/4.184, allocations: 1.82 MB / 1.569 GB, free: 60.84 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/4.184, allocations: 12.02 kB / 1.569 GB, free: 60.83 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/4.189, allocations: 0.6534 MB / 1.57 GB, free: 60.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03413/4.223, allocations: 12.6 MB / 1.582 GB, free: 47.39 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/4.223, allocations: 149.5 kB / 1.582 GB, free: 47.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/4.223, allocations: 127.9 kB / 1.582 GB, free: 47.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/4.227, allocations: 1.368 MB / 1.584 GB, free: 45.62 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/4.227, allocations: 7.938 kB / 1.584 GB, free: 45.61 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/4.227, allocations: 55.98 kB / 1.584 GB, free: 45.56 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/4.227, allocations: 35.98 kB / 1.584 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/4.231, allocations: 1.105 MB / 1.585 GB, free: 44.42 MB / 0.7605 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.00879/4.24, allocations: 6.932 MB / 1.592 GB, free: 37.03 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/4.242, allocations: 0.8535 MB / 1.592 GB, free: 36.14 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/4.243, allocations: 472.1 kB / 1.593 GB, free: 35.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/4.244, allocations: 0.5902 MB / 1.594 GB, free: 34.96 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/4.245, allocations: 0.6019 MB / 1.594 GB, free: 34.32 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=71): time 4.657e-06/4.245, allocations: 0 / 1.594 GB, free: 34.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71): time 0.003312/4.249, allocations: 0.9969 MB / 1.595 GB, free: 33.31 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/4.249, allocations: 214.2 kB / 1.595 GB, free: 33.05 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/4.251, allocations: 1.132 MB / 1.596 GB, free: 31.92 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/4.251, allocations: 45.7 kB / 1.596 GB, free: 31.87 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/4.252, allocations: 0.7683 MB / 1.597 GB, free: 31.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/4.252, allocations: 248.4 kB / 1.597 GB, free: 30.84 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/4.252, allocations: 16 kB / 1.597 GB, free: 30.83 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/4.252, allocations: 349.8 kB / 1.598 GB, free: 30.48 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008333/4.253, allocations: 385.9 kB / 1.598 GB, free: 30.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/4.254, allocations: 0.7662 MB / 1.599 GB, free: 29.16 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/4.255, allocations: 477.1 kB / 1.599 GB, free: 28.69 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.993e-06/4.255, allocations: 4 kB / 1.599 GB, free: 28.69 MB / 0.7605 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002802/4.258, allocations: 1.199 MB / 1.601 GB, free: 27.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006689/4.259, allocations: 3.339 MB / 1.604 GB, free: 23.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/4.259, allocations: 8 kB / 1.604 GB, free: 23.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.47e-05/4.259, allocations: 16 kB / 1.604 GB, free: 23.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/4.263, allocations: 459.3 kB / 1.604 GB, free: 23.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/4.264, allocations: 2.418 MB / 1.607 GB, free: 20.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/4.267, allocations: 251 kB / 1.607 GB, free: 20.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/4.267, allocations: 63.91 kB / 1.607 GB, free: 20.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/4.267, allocations: 4 kB / 1.607 GB, free: 20.51 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002242/4.269, allocations: 1.039 MB / 1.608 GB, free: 19.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/4.27, allocations: 8 kB / 1.608 GB, free: 19.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/4.27, allocations: 16 kB / 1.608 GB, free: 19.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/4.272, allocations: 376.1 kB / 1.608 GB, free: 19.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005584/4.272, allocations: 1.203 MB / 1.609 GB, free: 17.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/4.275, allocations: 231.2 kB / 1.61 GB, free: 17.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/4.275, allocations: 63.97 kB / 1.61 GB, free: 17.54 MB / 0.7605 GB Warning: Assuming fixed start value for the following 2 variables: chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.3118766234157572 * chi.vol2.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real chi.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.5797590564752818 * chi.vol1.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004234/4.275, allocations: 193 kB / 1.61 GB, free: 17.34 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/4.276, allocations: 150.1 kB / 1.61 GB, free: 17.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/4.278, allocations: 1.113 MB / 1.611 GB, free: 16.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/4.278, allocations: 8 kB / 1.611 GB, free: 16.06 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/4.278, allocations: 7.984 kB / 1.611 GB, free: 16.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/4.28, allocations: 0.938 MB / 1.612 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/4.286, allocations: 2.914 MB / 1.615 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/4.286, allocations: 4.188 kB / 1.615 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/4.289, allocations: 367.6 kB / 1.615 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/4.289, allocations: 65.62 kB / 1.615 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/4.289, allocations: 23.97 kB / 1.615 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/4.293, allocations: 3.798 MB / 1.619 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/4.293, allocations: 8.094 kB / 1.619 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/4.297, allocations: 1.879 MB / 1.621 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/4.298, allocations: 459.8 kB / 1.621 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/4.298, allocations: 20 kB / 1.621 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/4.3, allocations: 179.7 kB / 1.622 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/4.3, allocations: 64.42 kB / 1.622 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/4.301, allocations: 47.97 kB / 1.622 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001544/4.302, allocations: 0.8607 MB / 1.623 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.8e-07/4.302, allocations: 4 kB / 1.623 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003251/4.305, allocations: 0.8928 MB / 1.623 GB, free: 2.961 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U,chi.vol2.dynBal.m) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 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.001546/4.307, allocations: 0.7804 MB / 1.624 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005397/4.312, allocations: 1.736 MB / 1.626 GB, free: 448 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.381e-06/4.312, allocations: 0 / 1.626 GB, free: 448 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002704/4.315, allocations: 0.5887 MB / 1.626 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/4.319, allocations: 0.6796 MB / 1.627 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008721/4.328, allocations: 2.575 MB / 1.63 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/4.33, allocations: 1.307 MB / 1.631 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003946/4.334, allocations: 494.2 kB / 1.631 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/4.334, allocations: 91.41 kB / 1.631 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of SimCode: time 2.109e-06/4.334, allocations: 0 / 1.631 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.558/4.892, allocations: 35.71 MB / 1.666 GB, free: 127.2 MB / 0.7761 GB