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.554/3.554, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.126e-05, allocations: 4 kB / 0.5003 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.166, allocations: 92.69 MB / 0.5909 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.293/6.46, allocations: 2.401 GB / 2.991 GB, free: 215.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/6.46, allocations: 86.45 kB / 2.992 GB, free: 215.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.664/9.124, allocations: 0.628 GB / 3.62 GB, free: 131 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.989e-06/9.124, allocations: 0 / 3.62 GB, free: 131 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001928/9.125, allocations: 46.62 kB / 3.62 GB, free: 131 MB / 0.7761 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.008595/9.133, allocations: 1.62 MB / 3.621 GB, free: 130.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/9.133, allocations: 7.5 kB / 3.621 GB, free: 130.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/9.141, allocations: 0.5515 MB / 3.622 GB, free: 130.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04856/9.189, allocations: 12.53 MB / 3.634 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002548/9.192, allocations: 345 kB / 3.634 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/9.192, allocations: 112.1 kB / 3.634 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007294/9.2, allocations: 1.717 MB / 3.636 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/9.2, allocations: 7.656 kB / 3.636 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/9.2, allocations: 51.62 kB / 3.636 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/9.2, allocations: 59.14 kB / 3.636 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008626/9.209, allocations: 1.595 MB / 3.638 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/9.221, allocations: 6.76 MB / 3.644 GB, free: 125.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/9.223, allocations: 0.8367 MB / 3.645 GB, free: 125 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.538e-05/9.223, allocations: 22.05 kB / 3.645 GB, free: 125 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/9.225, allocations: 0.8349 MB / 3.646 GB, free: 124.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=63): time 4.782e-06/9.225, allocations: 3.391 kB / 3.646 GB, free: 124.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.003901/9.228, allocations: 1.407 MB / 3.647 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/9.229, allocations: 1.087 MB / 3.648 GB, free: 123 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/9.232, allocations: 1.393 MB / 3.65 GB, free: 122.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/9.232, allocations: 38.48 kB / 3.65 GB, free: 122.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/9.233, allocations: 0.6379 MB / 3.651 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/9.233, allocations: 226 kB / 3.651 GB, free: 122.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/9.233, allocations: 19.62 kB / 3.651 GB, free: 122.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/9.233, allocations: 340.7 kB / 3.651 GB, free: 122.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/9.235, allocations: 0.5565 MB / 3.652 GB, free: 122.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/9.238, allocations: 1.096 MB / 3.653 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/9.24, allocations: 0.7066 MB / 3.653 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/9.24, allocations: 3.812 kB / 3.653 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.005188/9.245, allocations: 1.652 MB / 3.655 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/9.245, allocations: 42.61 kB / 3.655 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/9.245, allocations: 14.78 kB / 3.655 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/9.245, allocations: 17.72 kB / 3.655 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/9.247, allocations: 301.1 kB / 3.655 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/9.247, allocations: 32.33 kB / 3.655 GB, free: 121.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/9.25, allocations: 388.8 kB / 3.656 GB, free: 121.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/9.25, allocations: 71.56 kB / 3.656 GB, free: 121.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.0009862/9.251, allocations: 428.7 kB / 3.656 GB, free: 121 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/9.251, allocations: 156.4 kB / 3.656 GB, free: 120.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/9.252, allocations: 157.7 kB / 3.657 GB, free: 120.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/9.252, allocations: 9.75 kB / 3.657 GB, free: 120.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/9.252, allocations: 7.844 kB / 3.657 GB, free: 120.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/9.252, allocations: 10.66 kB / 3.657 GB, free: 120.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007183/9.259, allocations: 5.121 MB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/9.259, allocations: 7.281 kB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009157/9.26, allocations: 134.7 kB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.812e-05/9.26, allocations: 16.31 kB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/9.26, allocations: 29.12 kB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/9.26, allocations: 19.11 kB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/9.26, allocations: 21.38 kB / 3.662 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/9.263, allocations: 1.955 MB / 3.664 GB, free: 115.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009629/9.264, allocations: 383.8 kB / 3.664 GB, free: 115.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/9.265, allocations: 31.39 kB / 3.664 GB, free: 115.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/9.266, allocations: 142.2 kB / 3.664 GB, free: 115.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/9.266, allocations: 74.02 kB / 3.664 GB, free: 115.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/9.267, allocations: 37.45 kB / 3.664 GB, free: 115.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002552/9.269, allocations: 1.098 MB / 3.665 GB, free: 115 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.213e-06/9.269, allocations: 0 / 3.665 GB, free: 115 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002334/9.272, allocations: 0.502 MB / 3.666 GB, free: 114.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 56 * 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.002369/9.274, allocations: 1.535 MB / 3.667 GB, free: 114.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003421/9.277, allocations: 1.232 MB / 3.669 GB, free: 113.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/9.277, allocations: 9.75 kB / 3.669 GB, free: 113.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/9.279, allocations: 0.5157 MB / 3.669 GB, free: 113.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004943/9.284, allocations: 0.7464 MB / 3.67 GB, free: 113.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/9.288, allocations: 2.678 MB / 3.672 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/9.289, allocations: 1.189 MB / 3.674 GB, free: 110.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002672/9.292, allocations: 375 kB / 3.674 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/9.292, allocations: 103.4 kB / 3.674 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.609e-06/9.292, allocations: 0 / 3.674 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.09176/9.384, allocations: 48.16 MB / 3.721 GB, free: 77.43 MB / 0.7761 GB