Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(Buildings): time 4.165/4.165, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.893e-05, allocations: 8 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 106.2 MB / 0.6718 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.664/6.871, allocations: 2.431 GB / 3.103 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004252/6.872, allocations: 87.48 kB / 3.103 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.03/9.902, allocations: 0.6327 GB / 3.735 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.914e-06/9.902, allocations: 3.188 kB / 3.735 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001727/9.902, allocations: 42.39 kB / 3.735 GB, free: 148.2 MB / 0.8698 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.006486/9.909, allocations: 1.402 MB / 3.737 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/9.909, allocations: 12.56 kB / 3.737 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/9.914, allocations: 0.5396 MB / 3.737 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04707/9.961, allocations: 12.66 MB / 3.75 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/9.963, allocations: 323.4 kB / 3.75 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/9.963, allocations: 68.66 kB / 3.75 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/9.965, allocations: 0.9603 MB / 3.751 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/9.965, allocations: 0.8594 kB / 3.751 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/9.965, allocations: 31.62 kB / 3.751 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/9.966, allocations: 37.62 kB / 3.751 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/9.967, allocations: 0.8551 MB / 3.752 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007665/9.975, allocations: 3.362 MB / 3.755 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/9.977, allocations: 0.6051 MB / 3.756 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/9.978, allocations: 370.2 kB / 3.756 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/9.978, allocations: 1.031 MB / 3.757 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009508/9.979, allocations: 492.1 kB / 3.758 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 4.153e-06/9.979, allocations: 0 / 3.758 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002455/9.982, allocations: 0.8318 MB / 3.758 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/9.982, allocations: 164.9 kB / 3.759 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/9.984, allocations: 0.9392 MB / 3.759 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/9.984, allocations: 43.73 kB / 3.759 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/9.984, allocations: 443.9 kB / 3.76 GB, free: 144 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/9.984, allocations: 195.6 kB / 3.76 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/9.985, allocations: 14.34 kB / 3.76 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/9.985, allocations: 327.2 kB / 3.76 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/9.985, allocations: 312.8 kB / 3.761 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/9.986, allocations: 0.4915 MB / 3.761 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/9.987, allocations: 379 kB / 3.762 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-06/9.987, allocations: 0 / 3.762 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002251/9.989, allocations: 0.9416 MB / 3.762 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/9.989, allocations: 41.14 kB / 3.762 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/9.989, allocations: 3.75 kB / 3.763 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/9.99, allocations: 4.812 kB / 3.763 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/9.991, allocations: 222.6 kB / 3.763 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/9.991, allocations: 13.81 kB / 3.763 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/9.993, allocations: 301.3 kB / 3.763 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/9.993, allocations: 49.94 kB / 3.763 GB, free: 143.2 MB / 0.8698 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.0002721/9.994, allocations: 176 kB / 3.763 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/9.994, allocations: 126 kB / 3.763 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/9.996, allocations: 0.9203 MB / 3.764 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/9.996, allocations: 14.56 kB / 3.764 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.205e-06/9.996, allocations: 0 / 3.764 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/9.996, allocations: 3.719 kB / 3.764 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/10, allocations: 3.221 MB / 3.767 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/10, allocations: 7.656 kB / 3.767 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/10, allocations: 125.5 kB / 3.768 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.786e-05/10, allocations: 12.41 kB / 3.768 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/10, allocations: 26.58 kB / 3.768 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/10, allocations: 18.58 kB / 3.768 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/10, allocations: 17.23 kB / 3.768 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/10.01, allocations: 1.704 MB / 3.769 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/10.01, allocations: 339.5 kB / 3.77 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/10.01, allocations: 20.31 kB / 3.77 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/10.01, allocations: 132.4 kB / 3.77 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/10.01, allocations: 67.73 kB / 3.77 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/10.01, allocations: 42.08 kB / 3.77 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001269/10.01, allocations: 0.7405 MB / 3.771 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.82e-06/10.01, allocations: 0 / 3.771 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002014/10.01, allocations: 441.8 kB / 3.771 GB, free: 140.6 MB / 0.8698 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.002438/10.01, allocations: 1.648 MB / 3.773 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001758/10.02, allocations: 0.8002 MB / 3.773 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.008e-06/10.02, allocations: 3.75 kB / 3.773 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/10.02, allocations: 467.3 kB / 3.774 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/10.02, allocations: 0.5272 MB / 3.774 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/10.02, allocations: 1.562 MB / 3.776 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/10.03, allocations: 1.093 MB / 3.777 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001885/10.03, allocations: 284.9 kB / 3.777 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/10.03, allocations: 82.47 kB / 3.777 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.676e-06/10.03, allocations: 1.656 kB / 3.777 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.07876/10.11, allocations: 40.76 MB / 3.817 GB, free: 137.7 MB / 0.8698 GB