Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.857/2.857, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.088e-05, allocations: 8.312 kB / 370.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 67.01 MB / 437.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.253/8.424, allocations: 2.398 GB / 2.825 GB, free: 132.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/8.424, allocations: 82.83 kB / 2.825 GB, free: 132.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.35/11.77, allocations: 0.6323 GB / 3.457 GB, free: 74.45 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.034e-06/11.77, allocations: 0 / 3.457 GB, free: 74.45 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000128/11.77, allocations: 35.06 kB / 3.457 GB, free: 74.45 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.005798/11.78, allocations: 1.411 MB / 3.459 GB, free: 73.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/11.78, allocations: 10.69 kB / 3.459 GB, free: 73.8 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003128/11.78, allocations: 121.2 kB / 3.459 GB, free: 73.76 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/11.79, allocations: 0.5346 MB / 3.46 GB, free: 73.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04311/11.83, allocations: 12.67 MB / 3.472 GB, free: 72.99 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003145/11.83, allocations: 321.4 kB / 3.472 GB, free: 72.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004705/11.83, allocations: 69.28 kB / 3.472 GB, free: 72.98 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/11.84, allocations: 0.9642 MB / 3.473 GB, free: 72.84 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/11.84, allocations: 3.188 kB / 3.473 GB, free: 72.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/11.84, allocations: 27.19 kB / 3.473 GB, free: 72.84 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-05/11.84, allocations: 30.19 kB / 3.473 GB, free: 72.84 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/11.84, allocations: 0.8571 MB / 3.474 GB, free: 72.84 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/11.85, allocations: 3.246 MB / 3.477 GB, free: 71.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/11.86, allocations: 0.5898 MB / 3.478 GB, free: 71.93 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/11.86, allocations: 375.7 kB / 3.478 GB, free: 71.93 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/11.86, allocations: 1.032 MB / 3.479 GB, free: 70.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/11.86, allocations: 497.9 kB / 3.48 GB, free: 70.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=59): time 5.841e-06/11.86, allocations: 0 / 3.48 GB, free: 70.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=59): time 0.003878/11.86, allocations: 0.8227 MB / 3.48 GB, free: 70.56 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/11.86, allocations: 175.5 kB / 3.481 GB, free: 70.37 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/11.87, allocations: 0.9444 MB / 3.482 GB, free: 70.22 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000334/11.87, allocations: 39.14 kB / 3.482 GB, free: 70.19 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/11.87, allocations: 444.3 kB / 3.482 GB, free: 70.07 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/11.87, allocations: 194.7 kB / 3.482 GB, free: 69.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/11.87, allocations: 12.44 kB / 3.482 GB, free: 69.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001174/11.87, allocations: 330.4 kB / 3.483 GB, free: 69.67 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/11.87, allocations: 304.3 kB / 3.483 GB, free: 69.67 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/11.87, allocations: 0.4988 MB / 3.483 GB, free: 69.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/11.87, allocations: 387.1 kB / 3.484 GB, free: 69.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/11.87, allocations: 3.188 kB / 3.484 GB, free: 69.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003705/11.88, allocations: 0.9368 MB / 3.485 GB, free: 69.31 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/11.88, allocations: 39.55 kB / 3.485 GB, free: 69.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/11.88, allocations: 11.11 kB / 3.485 GB, free: 69.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/11.88, allocations: 3.938 kB / 3.485 GB, free: 69.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/11.88, allocations: 215.3 kB / 3.485 GB, free: 69.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-05/11.88, allocations: 10.92 kB / 3.485 GB, free: 69.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/11.88, allocations: 309.7 kB / 3.485 GB, free: 69.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/11.88, allocations: 47.62 kB / 3.485 GB, free: 69.25 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.0004518/11.88, allocations: 179.2 kB / 3.485 GB, free: 69.11 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/11.89, allocations: 116.2 kB / 3.486 GB, free: 69.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/11.89, allocations: 0.9242 MB / 3.486 GB, free: 68.95 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/11.89, allocations: 8 kB / 3.486 GB, free: 68.95 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/11.89, allocations: 0 / 3.486 GB, free: 68.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/11.89, allocations: 10.58 kB / 3.486 GB, free: 68.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009574/11.9, allocations: 3.218 MB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/11.9, allocations: 7.062 kB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/11.9, allocations: 129.1 kB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/11.9, allocations: 12.5 kB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/11.9, allocations: 27.41 kB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/11.9, allocations: 22.11 kB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/11.9, allocations: 10.66 kB / 3.49 GB, free: 68.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/11.9, allocations: 1.711 MB / 3.491 GB, free: 66.99 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/11.91, allocations: 341.6 kB / 3.492 GB, free: 66.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/11.91, allocations: 28.89 kB / 3.492 GB, free: 66.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/11.91, allocations: 125.8 kB / 3.492 GB, free: 66.83 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/11.91, allocations: 62.17 kB / 3.492 GB, free: 66.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/11.91, allocations: 52.23 kB / 3.492 GB, free: 66.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002247/11.91, allocations: 0.7392 MB / 3.493 GB, free: 66.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.072e-06/11.91, allocations: 2.969 kB / 3.493 GB, free: 66.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003442/11.92, allocations: 426.2 kB / 3.493 GB, free: 66.7 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.009295/11.93, allocations: 6.007 MB / 3.499 GB, free: 62.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003332/11.93, allocations: 0.813 MB / 3.5 GB, free: 62.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/11.93, allocations: 0 / 3.5 GB, free: 62.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/11.93, allocations: 468.5 kB / 3.5 GB, free: 62.34 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007192/11.94, allocations: 0.5291 MB / 3.501 GB, free: 62.33 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009181/11.95, allocations: 1.843 MB / 3.503 GB, free: 61.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/11.95, allocations: 1.097 MB / 3.504 GB, free: 60.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003252/11.95, allocations: 279.9 kB / 3.504 GB, free: 60.96 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/11.95, allocations: 369 kB / 3.504 GB, free: 60.96 MB / 0.573 GB Notification: Performance of SimCode: time 2.174e-06/11.95, allocations: 0 / 3.504 GB, free: 60.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/12.09, allocations: 55.29 MB / 3.558 GB, free: 47.39 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/12.09, allocations: 200.9 kB / 3.558 GB, free: 47.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.097/17.18, allocations: 3.938 kB / 3.558 GB, free: 47.17 MB / 0.573 GB