Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.061/3.061, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.597e-05, allocations: 4 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.166, allocations: 77.72 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.464/1.63, allocations: 371.7 MB / 0.8653 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.631, allocations: 95.16 kB / 0.8654 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.658/5.289, allocations: 0.6862 GB / 1.552 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.935e-06/5.289, allocations: 1.188 kB / 1.552 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004019/5.29, allocations: 45.75 kB / 1.552 GB, free: 141.3 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007225/5.297, allocations: 1.846 MB / 1.553 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/5.297, allocations: 10.34 kB / 1.553 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005549/5.297, allocations: 149.6 kB / 1.554 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/5.301, allocations: 330.3 kB / 1.554 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/5.312, allocations: 2.552 MB / 1.556 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/5.313, allocations: 80.58 kB / 1.556 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/5.313, allocations: 107.2 kB / 1.557 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/5.316, allocations: 1.195 MB / 1.558 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/5.317, allocations: 1.188 kB / 1.558 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/5.317, allocations: 44.14 kB / 1.558 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/5.317, allocations: 28.67 kB / 1.558 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/5.319, allocations: 0.8599 MB / 1.559 GB, free: 140.1 MB / 0.6667 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.01246/5.332, allocations: 6.608 MB / 1.565 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/5.333, allocations: 0.5383 MB / 1.566 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/5.334, allocations: 368.6 kB / 1.566 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004888/5.339, allocations: 1.622 MB / 1.568 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008632/5.34, allocations: 345.7 kB / 1.568 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001592/5.342, allocations: 136.2 kB / 1.568 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 5.13e-06/5.342, allocations: 3.688 kB / 1.568 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.002331/5.344, allocations: 0.752 MB / 1.569 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/5.344, allocations: 64.14 kB / 1.569 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/5.348, allocations: 1.545 MB / 1.57 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/5.348, allocations: 42.84 kB / 1.57 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/5.349, allocations: 0.8628 MB / 1.571 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/5.35, allocations: 167.9 kB / 1.571 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/5.35, allocations: 19.81 kB / 1.571 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001004/5.35, allocations: 345.2 kB / 1.572 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/5.35, allocations: 250.4 kB / 1.572 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/5.351, allocations: 0.6779 MB / 1.573 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/5.352, allocations: 389.9 kB / 1.573 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/5.353, allocations: 5 kB / 1.573 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00347/5.356, allocations: 1.115 MB / 1.574 GB, free: 133.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009664/5.357, allocations: 4.139 MB / 1.578 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/5.357, allocations: 10.12 kB / 1.578 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/5.358, allocations: 144.9 kB / 1.578 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/5.359, allocations: 169.7 kB / 1.578 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009697/5.36, allocations: 0.7563 MB / 1.579 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/5.363, allocations: 107.2 kB / 1.579 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/5.363, allocations: 51.41 kB / 1.579 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/5.363, allocations: 3.312 kB / 1.579 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002742/5.366, allocations: 0.9817 MB / 1.58 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/5.366, allocations: 10.92 kB / 1.58 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/5.366, allocations: 121.6 kB / 1.58 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/5.367, allocations: 167.2 kB / 1.581 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/5.371, allocations: 2.112 MB / 1.583 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/5.373, allocations: 101.9 kB / 1.583 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/5.373, allocations: 44.75 kB / 1.583 GB, free: 127.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004052/5.374, allocations: 173 kB / 1.583 GB, free: 127 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/5.374, allocations: 173.9 kB / 1.583 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/5.377, allocations: 0.9383 MB / 1.584 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/5.377, allocations: 5.516 kB / 1.584 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/5.377, allocations: 0.7031 kB / 1.584 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/5.379, allocations: 0.8928 MB / 1.585 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/5.385, allocations: 2.113 MB / 1.587 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/5.385, allocations: 4.453 kB / 1.587 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/5.386, allocations: 93.08 kB / 1.587 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/5.387, allocations: 121.8 kB / 1.587 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/5.387, allocations: 17.2 kB / 1.587 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007871/5.388, allocations: 0.7321 MB / 1.588 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/5.388, allocations: 2.094 kB / 1.588 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/5.391, allocations: 1.315 MB / 1.589 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/5.393, allocations: 314.2 kB / 1.59 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/5.393, allocations: 10.12 kB / 1.59 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/5.394, allocations: 72.25 kB / 1.59 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/5.395, allocations: 50.55 kB / 1.59 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/5.395, allocations: 24.25 kB / 1.59 GB, free: 125 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002839/5.398, allocations: 1.212 MB / 1.591 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.222e-06/5.398, allocations: 0 / 1.591 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004788/5.402, allocations: 0.8745 MB / 1.592 GB, free: 124.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005148/5.408, allocations: 2.651 MB / 1.594 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003708/5.411, allocations: 1.376 MB / 1.596 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/5.411, allocations: 0 / 1.596 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/5.412, allocations: 307.5 kB / 1.596 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006126/5.418, allocations: 0.7403 MB / 1.597 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/5.426, allocations: 2.746 MB / 1.599 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/5.428, allocations: 1.529 MB / 1.601 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00507/5.433, allocations: 0.9066 MB / 1.602 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/5.434, allocations: 0.6251 MB / 1.602 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/5.434, allocations: 1.75 kB / 1.602 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/5.569, allocations: 55.06 MB / 1.656 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/5.569, allocations: 233.5 kB / 1.656 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.777/10.35, allocations: 0 / 1.656 GB, free: 119.1 MB / 0.6667 GB