Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(Buildings): time 3.596/3.596, allocations: 403.9 MB / 411 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.783e-05, allocations: 7.938 kB / 0.4941 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4788, allocations: 92.7 MB / 0.5847 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.866/6.344, allocations: 2.4 GB / 2.985 GB, free: 129.9 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/6.345, allocations: 79.95 kB / 2.985 GB, free: 129.9 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.67/9.014, allocations: 0.618 GB / 3.603 GB, free: 77.39 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.534e-06/9.014, allocations: 4 kB / 3.603 GB, free: 77.39 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001166/9.015, allocations: 43.92 kB / 3.603 GB, free: 77.35 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005193/9.02, allocations: 1.609 MB / 3.604 GB, free: 75.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/9.02, allocations: 12.02 kB / 3.604 GB, free: 75.67 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/9.024, allocations: 0.5486 MB / 3.605 GB, free: 75.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04215/9.066, allocations: 12.39 MB / 3.617 GB, free: 62.55 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/9.067, allocations: 309.9 kB / 3.617 GB, free: 62.24 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/9.068, allocations: 64 kB / 3.617 GB, free: 62.18 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002671/9.07, allocations: 1.051 MB / 3.618 GB, free: 61.12 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/9.073, allocations: 1.357 MB / 3.62 GB, free: 59.63 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/9.073, allocations: 0 / 3.62 GB, free: 59.63 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/9.074, allocations: 8 kB / 3.62 GB, free: 59.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/9.074, allocations: 57.92 kB / 3.62 GB, free: 59.56 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/9.084, allocations: 6.445 MB / 3.626 GB, free: 52.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/9.085, allocations: 0.6987 MB / 3.627 GB, free: 52.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/9.086, allocations: 417.7 kB / 3.627 GB, free: 51.66 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/9.086, allocations: 20.41 kB / 3.627 GB, free: 51.64 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/9.087, allocations: 0.7566 MB / 3.628 GB, free: 50.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=62): time 4.482e-06/9.087, allocations: 0 / 3.628 GB, free: 50.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=62): time 0.001889/9.089, allocations: 0.7784 MB / 3.629 GB, free: 49.97 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/9.089, allocations: 1.064 MB / 3.63 GB, free: 48.65 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/9.09, allocations: 0.8009 MB / 3.63 GB, free: 47.83 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/9.09, allocations: 33.64 kB / 3.63 GB, free: 47.79 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/9.091, allocations: 0.662 MB / 3.631 GB, free: 47.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/9.091, allocations: 209.1 kB / 3.631 GB, free: 46.91 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/9.091, allocations: 0 / 3.631 GB, free: 46.91 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/9.091, allocations: 341.9 kB / 3.632 GB, free: 46.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/9.092, allocations: 390.5 kB / 3.632 GB, free: 46.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/9.093, allocations: 0.9019 MB / 3.633 GB, free: 45.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/9.094, allocations: 0.5113 MB / 3.633 GB, free: 44.56 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/9.094, allocations: 7.984 kB / 3.633 GB, free: 44.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002653/9.097, allocations: 1.188 MB / 3.635 GB, free: 43.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/9.097, allocations: 37.7 kB / 3.635 GB, free: 43.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/9.097, allocations: 12 kB / 3.635 GB, free: 43.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/9.097, allocations: 19.98 kB / 3.635 GB, free: 43.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/9.099, allocations: 311.9 kB / 3.635 GB, free: 42.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/9.099, allocations: 23.92 kB / 3.635 GB, free: 42.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/9.101, allocations: 322.7 kB / 3.635 GB, free: 42.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/9.102, allocations: 71.95 kB / 3.635 GB, free: 42.57 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (116): * Single equations (assignments): 115 * 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.0003679/9.102, allocations: 187.3 kB / 3.636 GB, free: 42.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/9.102, allocations: 114.7 kB / 3.636 GB, free: 42.26 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/9.103, allocations: 121.6 kB / 3.636 GB, free: 42.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/9.103, allocations: 8 kB / 3.636 GB, free: 42.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/9.103, allocations: 8 kB / 3.636 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/9.103, allocations: 4 kB / 3.636 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/9.109, allocations: 4.727 MB / 3.64 GB, free: 37.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/9.109, allocations: 8.219 kB / 3.64 GB, free: 37.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/9.11, allocations: 147.7 kB / 3.641 GB, free: 37.06 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/9.11, allocations: 15.95 kB / 3.641 GB, free: 37.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/9.11, allocations: 19.98 kB / 3.641 GB, free: 37.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/9.11, allocations: 23.94 kB / 3.641 GB, free: 37 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/9.11, allocations: 15.92 kB / 3.641 GB, free: 36.99 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/9.112, allocations: 1.654 MB / 3.642 GB, free: 34.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008868/9.113, allocations: 339.5 kB / 3.643 GB, free: 34.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/9.113, allocations: 31.98 kB / 3.643 GB, free: 34.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/9.115, allocations: 135.9 kB / 3.643 GB, free: 34.44 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/9.115, allocations: 67.73 kB / 3.643 GB, free: 34.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/9.115, allocations: 35.98 kB / 3.643 GB, free: 34.34 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001037/9.116, allocations: 0.5949 MB / 3.643 GB, free: 33.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.86e-07/9.116, allocations: 0 / 3.643 GB, free: 33.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002265/9.119, allocations: 495.4 kB / 3.644 GB, free: 33.25 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (56): * Single equations (assignments): 55 * 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 Backend phase and start with SimCode phase: time 0.002331/9.121, allocations: 1.701 MB / 3.646 GB, free: 31.47 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001975/9.123, allocations: 0.9516 MB / 3.646 GB, free: 30.51 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/9.123, allocations: 4 kB / 3.646 GB, free: 30.51 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000768/9.124, allocations: 477.3 kB / 3.647 GB, free: 30.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/9.126, allocations: 410.1 kB / 3.647 GB, free: 29.63 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/9.13, allocations: 1.704 MB / 3.649 GB, free: 27.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/9.131, allocations: 1.182 MB / 3.65 GB, free: 26.56 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002142/9.133, allocations: 327.3 kB / 3.65 GB, free: 26.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/9.133, allocations: 87.41 kB / 3.651 GB, free: 26.15 MB / 0.7605 GB Notification: Performance of SimCode: time 1.407e-06/9.133, allocations: 0 / 3.651 GB, free: 26.15 MB / 0.7605 GB Notification: Performance of Templates: time 0.05754/9.191, allocations: 26.7 MB / 3.677 GB, free: 15.59 MB / 0.7761 GB