Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(Buildings): time 3.967/3.967, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.315e-05, allocations: 4.469 kB / 0.5337 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 98.72 MB / 0.6301 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.384/6.592, allocations: 2.426 GB / 3.056 GB, free: 207.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/6.592, allocations: 85.45 kB / 3.056 GB, free: 207.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.035/9.628, allocations: 0.631 GB / 3.687 GB, free: 157.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.158e-06/9.628, allocations: 0 / 3.687 GB, free: 157.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000117/9.628, allocations: 36.5 kB / 3.687 GB, free: 157.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00411/9.632, allocations: 1.398 MB / 3.688 GB, free: 157 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/9.632, allocations: 7.469 kB / 3.688 GB, free: 157 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/9.636, allocations: 0.5459 MB / 3.689 GB, free: 156.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05311/9.689, allocations: 12.53 MB / 3.701 GB, free: 156.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002431/9.691, allocations: 321.2 kB / 3.702 GB, free: 156.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/9.692, allocations: 72.69 kB / 3.702 GB, free: 156.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/9.695, allocations: 0.9428 MB / 3.703 GB, free: 156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/9.695, allocations: 3.516 kB / 3.703 GB, free: 156 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/9.695, allocations: 29.38 kB / 3.703 GB, free: 156 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.508e-05/9.696, allocations: 27.75 kB / 3.703 GB, free: 156 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/9.699, allocations: 0.8501 MB / 3.703 GB, free: 156 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/9.712, allocations: 3.249 MB / 3.707 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/9.714, allocations: 0.5912 MB / 3.707 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/9.715, allocations: 340.6 kB / 3.707 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/9.717, allocations: 1.023 MB / 3.708 GB, free: 153.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/9.718, allocations: 460.8 kB / 3.709 GB, free: 153.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 8.075e-06/9.718, allocations: 0 / 3.709 GB, free: 153.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.00355/9.722, allocations: 0.7596 MB / 3.71 GB, free: 153.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/9.722, allocations: 164.9 kB / 3.71 GB, free: 153.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/9.725, allocations: 0.9558 MB / 3.711 GB, free: 153.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/9.725, allocations: 42.95 kB / 3.711 GB, free: 153.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/9.726, allocations: 451 kB / 3.711 GB, free: 153.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/9.726, allocations: 181.9 kB / 3.711 GB, free: 153 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/9.726, allocations: 10.66 kB / 3.711 GB, free: 153 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001003/9.726, allocations: 329.3 kB / 3.712 GB, free: 152.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/9.727, allocations: 298.2 kB / 3.712 GB, free: 152.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/9.729, allocations: 0.4905 MB / 3.712 GB, free: 152.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/9.73, allocations: 367.8 kB / 3.713 GB, free: 152.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/9.73, allocations: 3.312 kB / 3.713 GB, free: 152.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003551/9.734, allocations: 0.8825 MB / 3.714 GB, free: 152.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/9.734, allocations: 35.11 kB / 3.714 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/9.734, allocations: 10.59 kB / 3.714 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/9.734, allocations: 7.625 kB / 3.714 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/9.736, allocations: 212.1 kB / 3.714 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/9.736, allocations: 8.562 kB / 3.714 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/9.74, allocations: 309.3 kB / 3.714 GB, free: 152.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/9.74, allocations: 48.3 kB / 3.714 GB, free: 152.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004457/9.741, allocations: 186.5 kB / 3.714 GB, free: 152.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005388/9.742, allocations: 123.3 kB / 3.715 GB, free: 152 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/9.745, allocations: 0.8405 MB / 3.715 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/9.745, allocations: 10.69 kB / 3.715 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/9.745, allocations: 0 / 3.715 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/9.745, allocations: 4.5 kB / 3.715 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/9.756, allocations: 2.902 MB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/9.756, allocations: 7.531 kB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/9.757, allocations: 116.9 kB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.122e-05/9.757, allocations: 11.78 kB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/9.757, allocations: 23.52 kB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/9.758, allocations: 10.16 kB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/9.758, allocations: 15.34 kB / 3.718 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/9.761, allocations: 1.531 MB / 3.72 GB, free: 150 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/9.763, allocations: 330.7 kB / 3.72 GB, free: 149.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/9.763, allocations: 27.16 kB / 3.72 GB, free: 149.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/9.765, allocations: 121.1 kB / 3.72 GB, free: 149.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/9.766, allocations: 56.52 kB / 3.72 GB, free: 149.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/9.766, allocations: 40.17 kB / 3.72 GB, free: 149.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001437/9.767, allocations: 0.7735 MB / 3.721 GB, free: 149.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.733e-06/9.767, allocations: 3.531 kB / 3.721 GB, free: 149.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001953/9.769, allocations: 441.2 kB / 3.722 GB, free: 149.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002564/9.772, allocations: 1.64 MB / 3.723 GB, free: 149.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001684/9.773, allocations: 0.7578 MB / 3.724 GB, free: 149.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.864e-06/9.773, allocations: 3 kB / 3.724 GB, free: 149.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/9.774, allocations: 427.7 kB / 3.724 GB, free: 149 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/9.777, allocations: 0.5264 MB / 3.725 GB, free: 149 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/9.78, allocations: 1.468 MB / 3.726 GB, free: 148.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/9.781, allocations: 1.083 MB / 3.727 GB, free: 147.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001808/9.783, allocations: 277 kB / 3.728 GB, free: 147.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/9.783, allocations: 80.66 kB / 3.728 GB, free: 147.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.59e-06/9.783, allocations: 0 / 3.728 GB, free: 147.7 MB / 0.823 GB Notification: Performance of Templates: time 0.07731/9.861, allocations: 40.49 MB / 3.767 GB, free: 123.5 MB / 0.823 GB