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.469/3.469, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.555e-05/4.565e-05, allocations: 11.88 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4743, allocations: 92.68 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.464, allocations: 2.401 GB / 2.99 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/6.465, allocations: 84.08 kB / 2.99 GB, free: 170.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.737/9.201, allocations: 0.6246 GB / 3.615 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.811e-06/9.202, allocations: 0 / 3.615 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001142/9.202, allocations: 42.5 kB / 3.615 GB, free: 141.2 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.004596/9.206, allocations: 1.616 MB / 3.616 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/9.206, allocations: 12.03 kB / 3.616 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/9.21, allocations: 0.5501 MB / 3.617 GB, free: 139 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03202/9.242, allocations: 12.43 MB / 3.629 GB, free: 126.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001279/9.243, allocations: 345.9 kB / 3.629 GB, free: 126.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/9.244, allocations: 104 kB / 3.63 GB, free: 126 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/9.247, allocations: 1.521 MB / 3.631 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/9.247, allocations: 3.938 kB / 3.631 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/9.247, allocations: 55.98 kB / 3.631 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/9.247, allocations: 49.98 kB / 3.631 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/9.25, allocations: 1.187 MB / 3.632 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/9.261, allocations: 6.773 MB / 3.639 GB, free: 116.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/9.262, allocations: 0.713 MB / 3.64 GB, free: 115.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/9.263, allocations: 445.8 kB / 3.64 GB, free: 114.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/9.263, allocations: 8.438 kB / 3.64 GB, free: 114.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/9.264, allocations: 0.7819 MB / 3.641 GB, free: 113.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=63): time 4.561e-06/9.264, allocations: 0 / 3.641 GB, free: 113.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.001904/9.266, allocations: 0.8539 MB / 3.642 GB, free: 113 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002058/9.266, allocations: 1.086 MB / 3.643 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/9.268, allocations: 1.248 MB / 3.644 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/9.268, allocations: 45.7 kB / 3.644 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000522/9.269, allocations: 0.633 MB / 3.645 GB, free: 109.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/9.269, allocations: 220.9 kB / 3.645 GB, free: 109.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/9.269, allocations: 16 kB / 3.645 GB, free: 109.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/9.269, allocations: 345.9 kB / 3.645 GB, free: 109.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/9.27, allocations: 389.8 kB / 3.646 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/9.271, allocations: 0.9029 MB / 3.646 GB, free: 107.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/9.272, allocations: 0.5299 MB / 3.647 GB, free: 107.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.613e-06/9.272, allocations: 4 kB / 3.647 GB, free: 107.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002664/9.275, allocations: 1.253 MB / 3.648 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/9.275, allocations: 37.7 kB / 3.648 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/9.275, allocations: 15.95 kB / 3.648 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.923e-05/9.275, allocations: 20 kB / 3.648 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/9.277, allocations: 300 kB / 3.649 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/9.277, allocations: 27.86 kB / 3.649 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/9.28, allocations: 390 kB / 3.649 GB, free: 105.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/9.28, allocations: 67.97 kB / 3.649 GB, free: 105 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.0003578/9.28, allocations: 222.1 kB / 3.649 GB, free: 104.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/9.281, allocations: 162.2 kB / 3.649 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/9.281, allocations: 153 kB / 3.649 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/9.281, allocations: 8 kB / 3.649 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/9.281, allocations: 8 kB / 3.65 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/9.281, allocations: 10.39 kB / 3.65 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/9.287, allocations: 4.983 MB / 3.654 GB, free: 99.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/9.287, allocations: 15.98 kB / 3.654 GB, free: 99.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/9.288, allocations: 135.6 kB / 3.655 GB, free: 99.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/9.288, allocations: 20 kB / 3.655 GB, free: 99.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/9.288, allocations: 36 kB / 3.655 GB, free: 99.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/9.288, allocations: 15.94 kB / 3.655 GB, free: 99.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.815e-06/9.288, allocations: 18.66 kB / 3.655 GB, free: 99.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/9.29, allocations: 1.832 MB / 3.656 GB, free: 96.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/9.291, allocations: 387.1 kB / 3.657 GB, free: 96.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/9.292, allocations: 35.98 kB / 3.657 GB, free: 96.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/9.293, allocations: 143.9 kB / 3.657 GB, free: 96.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/9.294, allocations: 69.48 kB / 3.657 GB, free: 96.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/9.294, allocations: 39.98 kB / 3.657 GB, free: 96.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001626/9.295, allocations: 0.9558 MB / 3.658 GB, free: 95.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.03e-07/9.295, allocations: 0 / 3.658 GB, free: 95.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002214/9.298, allocations: 0.5077 MB / 3.658 GB, free: 94.59 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.002225/9.3, allocations: 1.583 MB / 3.66 GB, free: 93.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001897/9.302, allocations: 0.9568 MB / 3.661 GB, free: 92.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.179e-06/9.302, allocations: 0 / 3.661 GB, free: 92.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/9.303, allocations: 467.6 kB / 3.661 GB, free: 91.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/9.307, allocations: 0.7525 MB / 3.662 GB, free: 90.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/9.31, allocations: 1.807 MB / 3.664 GB, free: 88.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/9.311, allocations: 1.191 MB / 3.665 GB, free: 87.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002341/9.313, allocations: 375.5 kB / 3.665 GB, free: 87.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/9.314, allocations: 103.4 kB / 3.666 GB, free: 87.24 MB / 0.7761 GB Notification: Performance of SimCode: time 1.702e-06/9.314, allocations: 1.969 kB / 3.666 GB, free: 87.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.0917/9.406, allocations: 48.21 MB / 3.713 GB, free: 39.38 MB / 0.7761 GB