Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.228/3.228, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.902e-05, allocations: 7.938 kB / 436.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1657, allocations: 77.74 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.476/1.641, allocations: 388.9 MB / 0.8821 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.642, allocations: 95.56 kB / 0.8822 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 12.29/13.93, allocations: 2.272 GB / 3.154 GB, free: 76.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/13.93, allocations: 0 / 3.154 GB, free: 76.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001966/13.94, allocations: 266.1 kB / 3.155 GB, free: 76.03 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.04198/13.98, allocations: 7.285 MB / 3.162 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/13.98, allocations: 10.56 kB / 3.162 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003977/13.98, allocations: 0.7566 MB / 3.163 GB, free: 73.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/13.99, allocations: 1.27 MB / 3.164 GB, free: 72.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04774/14.04, allocations: 12.59 MB / 3.176 GB, free: 71.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/14.04, allocations: 439.1 kB / 3.177 GB, free: 71.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/14.05, allocations: 0.5845 MB / 3.177 GB, free: 71.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/14.08, allocations: 13.39 MB / 3.19 GB, free: 70.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/14.08, allocations: 17.81 kB / 3.19 GB, free: 70.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/14.09, allocations: 245.7 kB / 3.19 GB, free: 70.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/14.09, allocations: 139 kB / 3.191 GB, free: 70.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04194/14.13, allocations: 17.98 MB / 3.208 GB, free: 70.73 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1421/14.27, allocations: 55.35 MB / 3.262 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/14.29, allocations: 8.665 MB / 3.271 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01894/14.31, allocations: 9.264 MB / 3.28 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07825/14.39, allocations: 26.3 MB / 3.305 GB, free: 44.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01647/14.4, allocations: 7.302 MB / 3.312 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09484/14.5, allocations: 21.17 MB / 3.333 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=301): time 3.07e-05/14.5, allocations: 0 / 3.333 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=301): time 0.0465/14.55, allocations: 14.5 MB / 3.347 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/14.55, allocations: 81.78 kB / 3.347 GB, free: 31.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0181/14.56, allocations: 7.376 MB / 3.355 GB, free: 25.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002786/14.57, allocations: 105.3 kB / 3.355 GB, free: 25.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005826/14.57, allocations: 4.032 MB / 3.359 GB, free: 21.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003675/14.58, allocations: 1.087 MB / 3.36 GB, free: 20.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/14.58, allocations: 92 kB / 3.36 GB, free: 20.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003574/14.58, allocations: 497.8 kB / 3.36 GB, free: 19.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01391/14.59, allocations: 6.072 MB / 3.366 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01555/14.61, allocations: 7.866 MB / 3.374 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/14.62, allocations: 6.992 MB / 3.381 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-05/14.62, allocations: 18.16 kB / 3.381 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.631/15.26, allocations: 17.82 MB / 3.398 GB, free: 81.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005377/15.26, allocations: 25.34 MB / 3.423 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/15.26, allocations: 47.17 kB / 3.423 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1394/15.4, allocations: 10.89 MB / 3.434 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/15.42, allocations: 1.609 MB / 3.435 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/15.43, allocations: 6.304 MB / 3.441 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0197/15.45, allocations: 0.5925 MB / 3.442 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003285/15.46, allocations: 0.5436 MB / 3.442 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/15.46, allocations: 3.375 kB / 3.442 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0472/15.5, allocations: 15.58 MB / 3.458 GB, free: 51.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/15.5, allocations: 45.25 kB / 3.458 GB, free: 51.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1335/15.64, allocations: 10.61 MB / 3.468 GB, free: 51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/15.65, allocations: 1.605 MB / 3.47 GB, free: 51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/15.68, allocations: 10.2 MB / 3.48 GB, free: 46.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/15.69, allocations: 0.5676 MB / 3.48 GB, free: 46.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003266/15.7, allocations: 0.5396 MB / 3.481 GB, free: 46.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004849/15.7, allocations: 402.4 kB / 3.481 GB, free: 46.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005159/15.71, allocations: 0.759 MB / 3.482 GB, free: 45.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04435/15.75, allocations: 13.46 MB / 3.495 GB, free: 45.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.418e-05/15.75, allocations: 32.28 kB / 3.495 GB, free: 45.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/15.75, allocations: 4 kB / 3.495 GB, free: 45.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02532/15.78, allocations: 10.06 MB / 3.505 GB, free: 44.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07149/15.85, allocations: 23.71 MB / 3.528 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-05/15.85, allocations: 3.219 kB / 3.528 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01423/15.86, allocations: 0.6968 MB / 3.529 GB, free: 41.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1544/16.02, allocations: 9.935 MB / 3.538 GB, free: 41.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001381/16.02, allocations: 104.7 kB / 3.538 GB, free: 41.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/16.03, allocations: 4.298 MB / 3.543 GB, free: 38.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/16.03, allocations: 0 / 3.543 GB, free: 38.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04324/16.07, allocations: 18.23 MB / 3.56 GB, free: 37.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008899/16.08, allocations: 1.975 MB / 3.562 GB, free: 36.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004193/16.08, allocations: 78.42 kB / 3.562 GB, free: 36.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01353/16.1, allocations: 418.5 kB / 3.563 GB, free: 36.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0017/16.1, allocations: 220.1 kB / 3.563 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001054/16.1, allocations: 158.3 kB / 3.563 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01489/16.11, allocations: 5.716 MB / 3.569 GB, free: 36.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.42e-07/16.11, allocations: 0 / 3.569 GB, free: 36.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02976/16.14, allocations: 4.923 MB / 3.574 GB, free: 36.18 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.04595/16.19, allocations: 19.85 MB / 3.593 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.05917/16.25, allocations: 23.28 MB / 3.616 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/16.25, allocations: 6.344 kB / 3.616 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01451/16.26, allocations: 6.073 MB / 3.622 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04249/16.31, allocations: 4.649 MB / 3.626 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06327/16.37, allocations: 19.5 MB / 3.645 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/16.38, allocations: 5.371 MB / 3.65 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.04743/16.43, allocations: 7.989 MB / 3.658 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01351/16.44, allocations: 3.672 MB / 3.662 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of SimCode: time 1.333e-06/16.44, allocations: 4 kB / 3.662 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.808/18.25, allocations: 299.9 MB / 3.955 GB, free: 120 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/18.25, allocations: 232 kB / 3.955 GB, free: 119.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/33.26, allocations: 3.25 kB / 3.955 GB, free: 119.7 MB / 0.7917 GB