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.468/3.468, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.137e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4714, allocations: 92.68 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.8/6.271, allocations: 2.401 GB / 2.99 GB, free: 170.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/6.271, allocations: 83.7 kB / 2.99 GB, free: 170.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.696/8.967, allocations: 0.6246 GB / 3.615 GB, free: 141.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/8.967, allocations: 0 / 3.615 GB, free: 141.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001064/8.967, allocations: 35.98 kB / 3.615 GB, free: 141.3 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.004492/8.971, allocations: 1.614 MB / 3.616 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/8.971, allocations: 15.97 kB / 3.616 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/8.975, allocations: 0.5423 MB / 3.617 GB, free: 139.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03174/9.007, allocations: 12.43 MB / 3.629 GB, free: 126.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/9.008, allocations: 349.9 kB / 3.629 GB, free: 126.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/9.008, allocations: 108 kB / 3.63 GB, free: 126.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/9.011, allocations: 1.522 MB / 3.631 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/9.011, allocations: 0 / 3.631 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/9.012, allocations: 55.98 kB / 3.631 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/9.012, allocations: 61.92 kB / 3.631 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/9.014, allocations: 1.21 MB / 3.632 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00996/9.024, allocations: 6.763 MB / 3.639 GB, free: 116.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/9.026, allocations: 0.7324 MB / 3.64 GB, free: 115.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/9.027, allocations: 444 kB / 3.64 GB, free: 114.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/9.027, allocations: 16.38 kB / 3.64 GB, free: 114.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/9.028, allocations: 0.783 MB / 3.641 GB, free: 113.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=63): time 4.669e-06/9.028, allocations: 0 / 3.641 GB, free: 113.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.001872/9.03, allocations: 0.8655 MB / 3.642 GB, free: 113 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/9.03, allocations: 1.09 MB / 3.643 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/9.032, allocations: 1.248 MB / 3.644 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/9.032, allocations: 41.7 kB / 3.644 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/9.033, allocations: 0.633 MB / 3.645 GB, free: 109.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/9.033, allocations: 216.9 kB / 3.645 GB, free: 109.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/9.033, allocations: 20 kB / 3.645 GB, free: 109.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/9.033, allocations: 345.9 kB / 3.645 GB, free: 109.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/9.034, allocations: 385.9 kB / 3.646 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/9.035, allocations: 0.9108 MB / 3.646 GB, free: 107.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/9.036, allocations: 0.5282 MB / 3.647 GB, free: 107.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.004e-06/9.036, allocations: 7.938 kB / 3.647 GB, free: 107.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002605/9.038, allocations: 1.282 MB / 3.648 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/9.039, allocations: 43.77 kB / 3.648 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/9.039, allocations: 15.95 kB / 3.648 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/9.039, allocations: 20 kB / 3.648 GB, free: 105.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/9.04, allocations: 300 kB / 3.649 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/9.04, allocations: 23.94 kB / 3.649 GB, free: 105.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/9.043, allocations: 394 kB / 3.649 GB, free: 105 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/9.043, 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.0003349/9.043, allocations: 222.1 kB / 3.649 GB, free: 104.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/9.044, allocations: 162.2 kB / 3.649 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/9.044, allocations: 153 kB / 3.65 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/9.044, allocations: 12 kB / 3.65 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/9.044, allocations: 4 kB / 3.65 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/9.044, allocations: 7.984 kB / 3.65 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/9.05, allocations: 5.013 MB / 3.654 GB, free: 99.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/9.05, allocations: 8 kB / 3.654 GB, free: 99.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/9.051, allocations: 135.8 kB / 3.655 GB, free: 99.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/9.051, allocations: 16 kB / 3.655 GB, free: 99.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/9.051, allocations: 36 kB / 3.655 GB, free: 99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/9.051, allocations: 15.94 kB / 3.655 GB, free: 98.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/9.051, allocations: 15.94 kB / 3.655 GB, free: 98.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/9.053, allocations: 1.833 MB / 3.656 GB, free: 96.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008184/9.054, allocations: 389.3 kB / 3.657 GB, free: 96.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/9.054, allocations: 31.98 kB / 3.657 GB, free: 96.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/9.056, allocations: 143.9 kB / 3.657 GB, free: 96.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/9.056, allocations: 75.72 kB / 3.657 GB, free: 96.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/9.056, allocations: 39.98 kB / 3.657 GB, free: 95.99 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001604/9.058, allocations: 0.9558 MB / 3.658 GB, free: 95.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.91e-07/9.058, allocations: 0 / 3.658 GB, free: 95.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002016/9.06, allocations: 0.5074 MB / 3.659 GB, free: 94.53 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.002102/9.062, allocations: 1.542 MB / 3.66 GB, free: 92.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001907/9.064, allocations: 0.985 MB / 3.661 GB, free: 91.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.473e-06/9.064, allocations: 10.66 kB / 3.661 GB, free: 91.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000744/9.065, allocations: 477.2 kB / 3.661 GB, free: 91.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/9.069, allocations: 0.75 MB / 3.662 GB, free: 90.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/9.072, allocations: 1.819 MB / 3.664 GB, free: 88.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/9.073, allocations: 1.191 MB / 3.665 GB, free: 87.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002296/9.076, allocations: 373.3 kB / 3.666 GB, free: 87.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/9.076, allocations: 103.4 kB / 3.666 GB, free: 87.11 MB / 0.7761 GB Notification: Performance of SimCode: time 1.868e-06/9.076, allocations: 0 / 3.666 GB, free: 87.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.08454/9.161, allocations: 48.13 MB / 3.713 GB, free: 39.25 MB / 0.7761 GB