Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(IBPSA): time 2.657/2.657, allocations: 288.1 MB / 300.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.974e-05, allocations: 5.094 kB / 370.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 67.02 MB / 437.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/5.837, allocations: 2.275 GB / 2.702 GB, free: 52.55 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/5.837, allocations: 81.77 kB / 2.702 GB, free: 52.52 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.039/8.876, allocations: 0.6515 GB / 3.354 GB, free: 70.57 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.241e-06/8.876, allocations: 3.938 kB / 3.354 GB, free: 70.57 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001257/8.877, allocations: 35.98 kB / 3.354 GB, free: 70.53 MB / 0.573 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.004625/8.881, allocations: 1.412 MB / 3.355 GB, free: 69.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/8.881, allocations: 12.03 kB / 3.355 GB, free: 69.05 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/8.885, allocations: 0.5371 MB / 3.356 GB, free: 68.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/8.92, allocations: 13.01 MB / 3.368 GB, free: 55.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/8.921, allocations: 321.2 kB / 3.369 GB, free: 55.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/8.922, allocations: 75.98 kB / 3.369 GB, free: 55.02 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/8.924, allocations: 0.9613 MB / 3.37 GB, free: 54.02 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/8.924, allocations: 3.094 kB / 3.37 GB, free: 54.02 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/8.924, allocations: 28 kB / 3.37 GB, free: 53.99 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/8.924, allocations: 33.3 kB / 3.37 GB, free: 53.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/8.926, allocations: 0.8616 MB / 3.371 GB, free: 53.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/8.933, allocations: 3.248 MB / 3.374 GB, free: 49.78 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/8.935, allocations: 0.5975 MB / 3.374 GB, free: 49.17 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/8.935, allocations: 378.1 kB / 3.375 GB, free: 48.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008307/8.936, allocations: 1.025 MB / 3.376 GB, free: 47.56 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/8.937, allocations: 486.6 kB / 3.376 GB, free: 47.05 MB / 0.573 GB Notification: Performance of pre-optimization done (n=59): time 4.236e-06/8.937, allocations: 0 / 3.376 GB, free: 47.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=59): time 0.002262/8.94, allocations: 0.8314 MB / 3.377 GB, free: 46.21 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/8.94, allocations: 170.6 kB / 3.377 GB, free: 46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/8.941, allocations: 0.945 MB / 3.378 GB, free: 45.04 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/8.941, allocations: 37.7 kB / 3.378 GB, free: 45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/8.942, allocations: 441.8 kB / 3.379 GB, free: 44.57 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/8.942, allocations: 197.1 kB / 3.379 GB, free: 44.37 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/8.942, allocations: 12 kB / 3.379 GB, free: 44.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/8.942, allocations: 326 kB / 3.379 GB, free: 44.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/8.943, allocations: 313.2 kB / 3.379 GB, free: 43.73 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/8.944, allocations: 0.495 MB / 3.38 GB, free: 43.16 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/8.944, allocations: 384.2 kB / 3.38 GB, free: 42.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.535e-06/8.945, allocations: 3.844 kB / 3.38 GB, free: 42.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002169/8.947, allocations: 0.9436 MB / 3.381 GB, free: 41.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/8.947, allocations: 37.69 kB / 3.381 GB, free: 41.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/8.947, allocations: 4 kB / 3.381 GB, free: 41.78 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/8.947, allocations: 4 kB / 3.381 GB, free: 41.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/8.948, allocations: 220 kB / 3.381 GB, free: 41.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/8.948, allocations: 4 kB / 3.381 GB, free: 41.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/8.95, allocations: 314.8 kB / 3.382 GB, free: 41.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/8.95, allocations: 51.95 kB / 3.382 GB, free: 41.2 MB / 0.573 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.0002688/8.951, allocations: 174.8 kB / 3.382 GB, free: 41.01 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/8.951, allocations: 114.6 kB / 3.382 GB, free: 40.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/8.953, allocations: 0.9216 MB / 3.383 GB, free: 39.97 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/8.953, allocations: 12 kB / 3.383 GB, free: 39.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/8.953, allocations: 0 / 3.383 GB, free: 39.96 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/8.953, allocations: 7.984 kB / 3.383 GB, free: 39.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/8.959, allocations: 3.212 MB / 3.386 GB, free: 36.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/8.959, allocations: 4 kB / 3.386 GB, free: 36.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/8.96, allocations: 136.4 kB / 3.386 GB, free: 36.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/8.96, allocations: 12 kB / 3.386 GB, free: 36.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.795e-05/8.96, allocations: 31.92 kB / 3.386 GB, free: 36.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/8.96, allocations: 11.98 kB / 3.386 GB, free: 36.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.309e-06/8.96, allocations: 15.94 kB / 3.386 GB, free: 36.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/8.962, allocations: 1.721 MB / 3.388 GB, free: 34.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/8.963, allocations: 331.4 kB / 3.388 GB, free: 34.01 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/8.963, allocations: 23.98 kB / 3.388 GB, free: 33.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/8.965, allocations: 131.9 kB / 3.388 GB, free: 33.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/8.965, allocations: 67.72 kB / 3.388 GB, free: 33.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/8.965, allocations: 49.66 kB / 3.389 GB, free: 33.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001299/8.966, allocations: 0.7399 MB / 3.389 GB, free: 33 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.337e-06/8.966, allocations: 0 / 3.389 GB, free: 33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002005/8.968, allocations: 435.7 kB / 3.39 GB, free: 32.57 MB / 0.573 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.002453/8.971, allocations: 1.632 MB / 3.391 GB, free: 30.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001749/8.972, allocations: 0.8046 MB / 3.392 GB, free: 30.15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.123e-06/8.972, allocations: 4 kB / 3.392 GB, free: 30.14 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/8.973, allocations: 473.1 kB / 3.393 GB, free: 29.67 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/8.977, allocations: 0.5371 MB / 3.393 GB, free: 29.15 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/8.981, allocations: 1.594 MB / 3.395 GB, free: 27.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/8.982, allocations: 1.093 MB / 3.396 GB, free: 26.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001729/8.983, allocations: 287.1 kB / 3.396 GB, free: 26.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/8.984, allocations: 87.34 kB / 3.396 GB, free: 25.95 MB / 0.573 GB Notification: Performance of SimCode: time 1.705e-06/8.984, allocations: 0 / 3.396 GB, free: 25.95 MB / 0.573 GB Notification: Performance of Templates: time 0.08331/9.067, allocations: 40.75 MB / 3.436 GB, free: 1.492 MB / 0.5886 GB