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.798/3.798, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.202e-05, allocations: 7.938 kB / 0.5009 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 92.68 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7514/0.9552, allocations: 156.1 MB / 0.7439 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.9674, allocations: 4.671 MB / 0.7485 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.9692, allocations: 39.75 kB / 0.7485 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.9719, allocations: 0.6142 MB / 0.7491 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005319/0.9773, allocations: 1.25 MB / 0.7503 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004413/0.9817, allocations: 0.9713 MB / 0.7513 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004792/0.9865, allocations: 1.59 MB / 0.7528 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.9883, allocations: 0.6943 MB / 0.7535 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.9919, allocations: 1.118 MB / 0.7546 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.9941, allocations: 0.7283 MB / 0.7553 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.9971, allocations: 0.7762 MB / 0.7561 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005897/0.9978, allocations: 72 kB / 0.7561 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007806/0.9986, allocations: 410.7 kB / 0.7565 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007446/0.9993, allocations: 156 kB / 0.7567 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004193/1.004, allocations: 2.076 MB / 0.7587 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.004, allocations: 0 / 0.7587 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.286e-06/1.004, allocations: 0 / 0.7587 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.132e-05/1.004, allocations: 0 / 0.7587 GB, free: 3.508 MB / 0.6198 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.006937/1.011, allocations: 1.46 MB / 0.7601 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.011, allocations: 15.97 kB / 0.7602 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/1.016, allocations: 0.6226 MB / 0.7608 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/1.02, allocations: 1.039 MB / 0.7618 GB, free: 268 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002419/1.022, allocations: 345.9 kB / 0.7621 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/1.023, allocations: 104 kB / 0.7622 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006214/1.029, allocations: 1.739 MB / 0.7639 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/1.029, allocations: 7.938 kB / 0.7639 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/1.029, allocations: 52 kB / 0.764 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/1.029, allocations: 45.98 kB / 0.764 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007497/1.037, allocations: 1.686 MB / 0.7657 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/1.053, allocations: 6.529 MB / 0.772 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/1.057, allocations: 0.8335 MB / 0.7728 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/1.057, allocations: 12.42 kB / 0.7729 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002222/1.059, allocations: 0.829 MB / 0.7737 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=63): time 5.32e-06/1.059, allocations: 0 / 0.7737 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63): time 0.005349/1.065, allocations: 1.414 MB / 0.775 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005246/1.065, allocations: 1.036 MB / 0.7761 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/1.069, allocations: 1.402 MB / 0.7774 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002522/1.07, allocations: 45.7 kB / 0.7775 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008634/1.07, allocations: 0.6329 MB / 0.7781 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/1.071, allocations: 221 kB / 0.7783 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.071, allocations: 16 kB / 0.7783 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.071, allocations: 341.9 kB / 0.7786 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.074, allocations: 0.5718 MB / 0.7792 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/1.078, allocations: 1.1 MB / 0.7803 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/1.081, allocations: 0.7028 MB / 0.781 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/1.081, allocations: 4 kB / 0.781 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007354/1.088, allocations: 1.671 MB / 0.7826 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/1.088, allocations: 41.69 kB / 0.7826 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/1.088, allocations: 16.06 kB / 0.7826 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/1.088, allocations: 16 kB / 0.7827 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/1.091, allocations: 303.5 kB / 0.783 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.003e-05/1.091, allocations: 19.94 kB / 0.783 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.095, allocations: 398 kB / 0.7834 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/1.096, allocations: 59.97 kB / 0.7834 GB, free: 8.996 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.001094/1.097, allocations: 429.5 kB / 0.7838 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/1.097, allocations: 170.1 kB / 0.784 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/1.098, allocations: 153.2 kB / 0.7841 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.098, allocations: 7.984 kB / 0.7841 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.098, allocations: 4 kB / 0.7841 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.099, allocations: 383.1 kB / 0.7845 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.099, allocations: 20 kB / 0.7845 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.102, allocations: 143.9 kB / 0.7847 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/1.102, allocations: 48.17 kB / 0.7847 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004644/1.107, allocations: 2.416 MB / 0.7871 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005288/1.112, allocations: 2.829 MB / 0.7898 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001502/1.114, allocations: 436.3 kB / 0.7902 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003352/1.117, allocations: 1.106 MB / 0.7913 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of Backend: time 1.522e-06/1.117, allocations: 0 / 0.7913 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007162/1.124, allocations: 1.258 MB / 0.7926 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01064/1.135, allocations: 3.321 MB / 0.7958 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.1625/1.298, allocations: 66.61 MB / 0.8608 GB, free: 9.703 MB / 0.7292 GB