Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(Buildings): time 4.189/4.189, allocations: 464.6 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.302e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.302/6.502, allocations: 2.431 GB / 3.109 GB, free: 40.32 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/6.502, allocations: 84.08 kB / 3.109 GB, free: 40.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.98/9.482, allocations: 0.6323 GB / 3.741 GB, free: 93.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.806e-06/9.482, allocations: 0 / 3.741 GB, free: 93.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001123/9.482, allocations: 35.98 kB / 3.741 GB, free: 93.32 MB / 0.8855 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.003987/9.486, allocations: 1.409 MB / 3.743 GB, free: 91.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/9.486, allocations: 8.031 kB / 3.743 GB, free: 91.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/9.489, allocations: 0.5332 MB / 3.743 GB, free: 91.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03323/9.523, allocations: 12.68 MB / 3.756 GB, free: 78.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/9.524, allocations: 313.2 kB / 3.756 GB, free: 78.15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/9.524, allocations: 76 kB / 3.756 GB, free: 78.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/9.526, allocations: 0.9612 MB / 3.757 GB, free: 77.07 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/9.526, allocations: 8 kB / 3.757 GB, free: 77.06 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/9.526, allocations: 28 kB / 3.757 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/9.527, allocations: 37.23 kB / 3.757 GB, free: 77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/9.528, allocations: 0.846 MB / 3.758 GB, free: 76.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00701/9.535, allocations: 3.249 MB / 3.761 GB, free: 72.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/9.537, allocations: 0.5897 MB / 3.761 GB, free: 72.22 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006505/9.538, allocations: 377.9 kB / 3.762 GB, free: 71.85 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/9.538, allocations: 1.029 MB / 3.763 GB, free: 70.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008466/9.539, allocations: 486.7 kB / 3.763 GB, free: 70.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 4.768e-06/9.539, allocations: 3.938 kB / 3.763 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002201/9.542, allocations: 0.8353 MB / 3.764 GB, free: 69.24 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/9.542, allocations: 166.5 kB / 3.764 GB, free: 69.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/9.543, allocations: 0.9449 MB / 3.765 GB, free: 68.08 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/9.543, allocations: 45.7 kB / 3.765 GB, free: 68.03 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/9.544, allocations: 433.8 kB / 3.766 GB, free: 67.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/9.544, allocations: 201.1 kB / 3.766 GB, free: 67.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/9.544, allocations: 12.03 kB / 3.766 GB, free: 67.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/9.544, allocations: 330 kB / 3.766 GB, free: 67.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/9.545, allocations: 305.2 kB / 3.766 GB, free: 66.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/9.546, allocations: 0.4967 MB / 3.767 GB, free: 66.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/9.546, allocations: 383.1 kB / 3.767 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.483e-06/9.546, allocations: 0 / 3.767 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002092/9.549, allocations: 0.936 MB / 3.768 GB, free: 64.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/9.549, allocations: 37.7 kB / 3.768 GB, free: 64.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/9.549, allocations: 11.89 kB / 3.768 GB, free: 64.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/9.549, allocations: 8 kB / 3.768 GB, free: 64.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/9.55, allocations: 228 kB / 3.768 GB, free: 64.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/9.55, allocations: 11.94 kB / 3.769 GB, free: 64.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/9.552, allocations: 306.8 kB / 3.769 GB, free: 64.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/9.552, allocations: 47.97 kB / 3.769 GB, free: 64.23 MB / 0.8855 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 (69): * Single equations (assignments): 68 * 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.0004355/9.553, allocations: 179.4 kB / 3.769 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/9.553, allocations: 114.7 kB / 3.769 GB, free: 63.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/9.557, allocations: 0.9167 MB / 3.77 GB, free: 62.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/9.557, allocations: 11.95 kB / 3.77 GB, free: 62.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/9.557, allocations: 4 kB / 3.77 GB, free: 62.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/9.557, allocations: 3.984 kB / 3.77 GB, free: 62.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009343/9.566, allocations: 3.218 MB / 3.773 GB, free: 59.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/9.566, allocations: 8 kB / 3.773 GB, free: 59.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/9.568, allocations: 127.8 kB / 3.773 GB, free: 59.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.034e-05/9.568, allocations: 12 kB / 3.773 GB, free: 59.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/9.568, allocations: 27.98 kB / 3.773 GB, free: 59.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.498e-05/9.568, allocations: 15.94 kB / 3.773 GB, free: 59.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/9.568, allocations: 11.94 kB / 3.773 GB, free: 59.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/9.572, allocations: 1.714 MB / 3.775 GB, free: 57.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/9.573, allocations: 343.3 kB / 3.775 GB, free: 57.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/9.574, allocations: 24 kB / 3.775 GB, free: 57.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002831/9.576, allocations: 127.9 kB / 3.776 GB, free: 56.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/9.577, allocations: 63.77 kB / 3.776 GB, free: 56.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/9.577, allocations: 39.97 kB / 3.776 GB, free: 56.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002194/9.579, allocations: 0.7399 MB / 3.776 GB, free: 56.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.753e-06/9.579, allocations: 4 kB / 3.776 GB, free: 56.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003221/9.582, allocations: 435.6 kB / 3.777 GB, free: 55.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003912/9.586, allocations: 1.655 MB / 3.778 GB, free: 53.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002927/9.589, allocations: 0.8061 MB / 3.779 GB, free: 53.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/9.589, allocations: 0 / 3.779 GB, free: 53.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/9.591, allocations: 477 kB / 3.78 GB, free: 52.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006207/9.597, allocations: 0.522 MB / 3.78 GB, free: 52.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/9.603, allocations: 1.588 MB / 3.782 GB, free: 50.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/9.605, allocations: 1.089 MB / 3.783 GB, free: 49.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003012/9.608, allocations: 284 kB / 3.783 GB, free: 48.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/9.608, allocations: 83.41 kB / 3.783 GB, free: 48.91 MB / 0.8855 GB Notification: Performance of SimCode: time 2.748e-06/9.608, allocations: 0 / 3.783 GB, free: 48.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.09694/9.705, allocations: 40.76 MB / 3.823 GB, free: 8.371 MB / 0.8855 GB