Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(BuildingSystems): time 3.119/3.12, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.724e-05, allocations: 7.938 kB / 436.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 77.74 MB / 0.5023 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/6.502, allocations: 2.406 GB / 2.909 GB, free: 124 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/6.502, allocations: 83.95 kB / 2.909 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.111/9.613, allocations: 0.6308 GB / 3.539 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.052e-06/9.613, allocations: 0 / 3.539 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001255/9.613, allocations: 32.72 kB / 3.539 GB, free: 101.1 MB / 0.6667 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.004469/9.618, allocations: 1.418 MB / 3.541 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/9.618, allocations: 9.438 kB / 3.541 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/9.622, allocations: 0.5357 MB / 3.541 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03855/9.66, allocations: 12.56 MB / 3.554 GB, free: 99.83 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/9.662, allocations: 319.8 kB / 3.554 GB, free: 99.83 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/9.662, allocations: 71.12 kB / 3.554 GB, free: 99.83 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/9.665, allocations: 0.9646 MB / 3.555 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/9.665, allocations: 3.562 kB / 3.555 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/9.665, allocations: 27.91 kB / 3.555 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.519e-05/9.665, allocations: 35.17 kB / 3.555 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/9.667, allocations: 0.8495 MB / 3.556 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008117/9.675, allocations: 3.364 MB / 3.559 GB, free: 98.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/9.677, allocations: 0.6017 MB / 3.56 GB, free: 98.65 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/9.678, allocations: 370.9 kB / 3.56 GB, free: 98.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/9.679, allocations: 1.036 MB / 3.561 GB, free: 97.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/9.68, allocations: 487.3 kB / 3.562 GB, free: 97.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 4.698e-06/9.68, allocations: 2.562 kB / 3.562 GB, free: 97.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.002546/9.682, allocations: 0.8323 MB / 3.562 GB, free: 97.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/9.682, allocations: 165.8 kB / 3.563 GB, free: 97.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/9.684, allocations: 0.9481 MB / 3.563 GB, free: 96.94 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/9.684, allocations: 39.33 kB / 3.563 GB, free: 96.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/9.685, allocations: 432.9 kB / 3.564 GB, free: 96.79 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/9.685, allocations: 200.4 kB / 3.564 GB, free: 96.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/9.685, allocations: 10.94 kB / 3.564 GB, free: 96.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.458e-05/9.685, allocations: 329.2 kB / 3.564 GB, free: 96.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/9.686, allocations: 303.9 kB / 3.565 GB, free: 96.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/9.687, allocations: 0.5013 MB / 3.565 GB, free: 96.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/9.688, allocations: 385.2 kB / 3.566 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.945e-06/9.688, allocations: 1 kB / 3.566 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00262/9.691, allocations: 0.9408 MB / 3.566 GB, free: 96.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/9.691, allocations: 32.98 kB / 3.567 GB, free: 96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/9.691, allocations: 11.55 kB / 3.567 GB, free: 96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/9.691, allocations: 10.27 kB / 3.567 GB, free: 96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/9.692, allocations: 214.6 kB / 3.567 GB, free: 96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/9.692, allocations: 12.8 kB / 3.567 GB, free: 96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/9.695, allocations: 311.3 kB / 3.567 GB, free: 95.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/9.695, allocations: 44.17 kB / 3.567 GB, free: 95.97 MB / 0.6667 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.0003211/9.695, allocations: 183.6 kB / 3.567 GB, free: 95.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/9.696, allocations: 119.1 kB / 3.567 GB, free: 95.78 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/9.698, allocations: 0.9212 MB / 3.568 GB, free: 95.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/9.698, allocations: 9.25 kB / 3.568 GB, free: 95.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.106e-06/9.698, allocations: 3.75 kB / 3.568 GB, free: 95.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/9.698, allocations: 7.312 kB / 3.568 GB, free: 95.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/9.704, allocations: 3.208 MB / 3.571 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/9.704, allocations: 10.16 kB / 3.571 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/9.705, allocations: 130.5 kB / 3.572 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/9.705, allocations: 11.25 kB / 3.572 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/9.705, allocations: 25.55 kB / 3.572 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/9.705, allocations: 15.53 kB / 3.572 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.752e-06/9.705, allocations: 12.59 kB / 3.572 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/9.708, allocations: 1.719 MB / 3.573 GB, free: 93.73 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/9.708, allocations: 334.1 kB / 3.574 GB, free: 93.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/9.709, allocations: 29.52 kB / 3.574 GB, free: 93.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/9.711, allocations: 127.9 kB / 3.574 GB, free: 93.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/9.711, allocations: 68.94 kB / 3.574 GB, free: 93.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/9.711, allocations: 50.09 kB / 3.574 GB, free: 93.56 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001386/9.712, allocations: 0.7361 MB / 3.575 GB, free: 93.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.1e-07/9.712, allocations: 2.594 kB / 3.575 GB, free: 93.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002156/9.714, allocations: 437.3 kB / 3.575 GB, free: 93.43 MB / 0.6667 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.002533/9.717, allocations: 1.641 MB / 3.577 GB, free: 92.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001815/9.719, allocations: 0.8112 MB / 3.577 GB, free: 92.88 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-06/9.719, allocations: 3.562 kB / 3.577 GB, free: 92.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008318/9.72, allocations: 465.6 kB / 3.578 GB, free: 92.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/9.723, allocations: 0.5327 MB / 3.578 GB, free: 92.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/9.727, allocations: 1.569 MB / 3.58 GB, free: 92.21 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/9.728, allocations: 1.1 MB / 3.581 GB, free: 91.51 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001732/9.729, allocations: 276.8 kB / 3.581 GB, free: 91.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/9.73, allocations: 91.7 kB / 3.581 GB, free: 91.49 MB / 0.6667 GB Notification: Performance of SimCode: time 1.959e-06/9.73, allocations: 0 / 3.581 GB, free: 91.49 MB / 0.6667 GB Notification: Performance of Templates: time 0.0806/9.81, allocations: 40.77 MB / 3.621 GB, free: 89.95 MB / 0.6667 GB