Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.358/3.358, allocations: 343.8 MB / 355.9 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.135e-05/5.139e-05, allocations: 11.98 kB / 436.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1847, allocations: 77.72 MB / 0.5023 GB, free: 4.457 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.486/1.671, allocations: 354.7 MB / 0.8487 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/1.671, allocations: 95.55 kB / 0.8488 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.269/2.94, allocations: 244.5 MB / 1.088 GB, free: 175.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.473e-06/2.94, allocations: 3.719 kB / 1.088 GB, free: 175.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.565e-05/2.94, allocations: 20.5 kB / 1.088 GB, free: 175.8 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001933/2.942, allocations: 0.9157 MB / 1.088 GB, free: 175.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.942, allocations: 10.47 kB / 1.088 GB, free: 175.3 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/2.942, allocations: 74.05 kB / 1.089 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/2.943, allocations: 180.2 kB / 1.089 GB, free: 175.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03481/2.978, allocations: 11.27 MB / 1.1 GB, free: 174.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005997/2.979, allocations: 95.17 kB / 1.1 GB, free: 174.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/2.979, allocations: 41.62 kB / 1.1 GB, free: 174.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/2.98, allocations: 442.7 kB / 1.1 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/2.98, allocations: 0.9375 kB / 1.1 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/2.98, allocations: 19.77 kB / 1.1 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/2.98, allocations: 11.56 kB / 1.1 GB, free: 174.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/2.981, allocations: 310.8 kB / 1.101 GB, free: 174.2 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.004167/2.985, allocations: 2.27 MB / 1.103 GB, free: 172.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/2.986, allocations: 269.8 kB / 1.103 GB, free: 172.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/2.986, allocations: 183.3 kB / 1.103 GB, free: 172.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/2.987, allocations: 340.8 kB / 1.104 GB, free: 172 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/2.987, allocations: 249 kB / 1.104 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.697e-06/2.987, allocations: 0 / 1.104 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001347/2.989, allocations: 491.5 kB / 1.104 GB, free: 171.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/2.989, allocations: 80.86 kB / 1.104 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/2.989, allocations: 429.9 kB / 1.105 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/2.989, allocations: 29.7 kB / 1.105 GB, free: 171.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/2.99, allocations: 288.2 kB / 1.105 GB, free: 171.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/2.99, allocations: 109.2 kB / 1.105 GB, free: 171 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/2.99, allocations: 7.281 kB / 1.105 GB, free: 171 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000107/2.99, allocations: 368 kB / 1.106 GB, free: 170.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/2.99, allocations: 132.9 kB / 1.106 GB, free: 170.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/2.991, allocations: 223.7 kB / 1.106 GB, free: 170.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/2.991, allocations: 186.3 kB / 1.106 GB, free: 170.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.991, allocations: 0 / 1.106 GB, free: 170.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001258/2.992, allocations: 0.5236 MB / 1.107 GB, free: 170.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001794/2.993, allocations: 0.6498 MB / 1.107 GB, free: 169.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/2.993, allocations: 3.781 kB / 1.107 GB, free: 169.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/2.993, allocations: 50.27 kB / 1.107 GB, free: 169.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/2.994, allocations: 79.73 kB / 1.107 GB, free: 169.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005049/2.994, allocations: 0.6009 MB / 1.108 GB, free: 168.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/2.995, allocations: 79.23 kB / 1.108 GB, free: 168.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/2.995, allocations: 23.36 kB / 1.108 GB, free: 168.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/2.995, allocations: 3.906 kB / 1.108 GB, free: 168.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/2.996, allocations: 470.2 kB / 1.108 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/2.996, allocations: 7.906 kB / 1.108 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/2.997, allocations: 56.48 kB / 1.109 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/2.997, allocations: 82.5 kB / 1.109 GB, free: 168.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/2.999, allocations: 1.621 MB / 1.11 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/3, allocations: 82.19 kB / 1.11 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/3, allocations: 22.75 kB / 1.11 GB, free: 167.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/3.001, allocations: 161.8 kB / 1.11 GB, free: 167 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/3.001, allocations: 53.91 kB / 1.11 GB, free: 167 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/3.002, allocations: 0.5773 MB / 1.111 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/3.002, allocations: 3.688 kB / 1.111 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/3.002, allocations: 3.5 kB / 1.111 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/3.003, allocations: 0.7219 MB / 1.112 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/3.006, allocations: 1.227 MB / 1.113 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/3.006, allocations: 2.625 kB / 1.113 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/3.007, allocations: 74.8 kB / 1.113 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/3.007, allocations: 42.66 kB / 1.113 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/3.007, allocations: 11.81 kB / 1.113 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003571/3.007, allocations: 0.5738 MB / 1.114 GB, free: 165 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/3.007, allocations: 3.625 kB / 1.114 GB, free: 165 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/3.009, allocations: 0.8898 MB / 1.115 GB, free: 164.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/3.009, allocations: 182.1 kB / 1.115 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/3.009, allocations: 14.39 kB / 1.115 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/3.01, allocations: 66.98 kB / 1.115 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/3.01, allocations: 24.22 kB / 1.115 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/3.011, allocations: 15.47 kB / 1.115 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005254/3.011, allocations: 335.3 kB / 1.115 GB, free: 164.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/3.011, allocations: 0 / 1.115 GB, free: 164.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001763/3.013, allocations: 384.2 kB / 1.116 GB, free: 164.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002822/3.016, allocations: 1.916 MB / 1.117 GB, free: 162.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001928/3.018, allocations: 0.838 MB / 1.118 GB, free: 162.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/3.018, allocations: 3.812 kB / 1.118 GB, free: 162.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/3.018, allocations: 273.1 kB / 1.118 GB, free: 162.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/3.02, allocations: 239.8 kB / 1.119 GB, free: 162.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/3.023, allocations: 0.948 MB / 1.12 GB, free: 161.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/3.024, allocations: 0.8935 MB / 1.12 GB, free: 161.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001059/3.025, allocations: 153.4 kB / 1.121 GB, free: 161.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/3.025, allocations: 187 kB / 1.121 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.593e-06/3.025, allocations: 0 / 1.121 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06089/3.086, allocations: 18.71 MB / 1.139 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/3.086, allocations: 242.6 kB / 1.139 GB, free: 156.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/6.318, allocations: 0 / 1.139 GB, free: 156.1 MB / 0.6667 GB