Running command: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadModel(BuildSysPro): time 3.085/3.085, allocations: 325.3 MB / 337.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.016e-05, allocations: 4 kB / 414.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 74.4 MB / 489.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5515/0.6801, allocations: 105.3 MB / 0.5806 GB, free: 10.56 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.6804, allocations: 58.97 kB / 0.5806 GB, free: 10.53 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04606/0.7264, allocations: 12.11 MB / 0.5925 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.939e-06/0.7265, allocations: 0 / 0.5925 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.7266, allocations: 19.92 kB / 0.5925 GB, free: 0.5859 MB / 474.7 MB 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.001141/0.7277, allocations: 0.7028 MB / 0.5932 GB, free: 15.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.7278, allocations: 8.031 kB / 0.5932 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.7282, allocations: 71.23 kB / 0.5932 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.7291, allocations: 482.8 kB / 0.5937 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.7292, allocations: 25.41 kB / 0.5937 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.7292, allocations: 38.94 kB / 0.5938 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.7301, allocations: 393.1 kB / 0.5941 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.7301, allocations: 0 / 0.5941 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.7302, allocations: 18.31 kB / 0.5942 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.7302, allocations: 8 kB / 0.5942 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.7309, allocations: 282 kB / 0.5944 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.7333, allocations: 1.247 MB / 0.5956 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.734, allocations: 319.6 kB / 0.596 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.7342, allocations: 110.1 kB / 0.5961 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.7343, allocations: 12.19 kB / 0.5961 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.7343, allocations: 35.73 kB / 0.5961 GB, free: 13.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.382e-06/0.7344, allocations: 4 kB / 0.5961 GB, free: 13.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007392/0.7351, allocations: 291 kB / 0.5964 GB, free: 13.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.7352, allocations: 187.9 kB / 0.5966 GB, free: 13.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/0.7361, allocations: 0.4903 MB / 0.597 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.7362, allocations: 33.45 kB / 0.5971 GB, free: 12.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.7364, allocations: 266.1 kB / 0.5973 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.7366, allocations: 103.8 kB / 0.5974 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.7366, allocations: 6.562 kB / 0.5974 GB, free: 12.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.7368, allocations: 362.9 kB / 0.5978 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.737, allocations: 98.92 kB / 0.5979 GB, free: 11.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.7373, allocations: 148.6 kB / 0.598 GB, free: 11.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.7375, allocations: 94.66 kB / 0.5981 GB, free: 11.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-06/0.7376, allocations: 0 / 0.5981 GB, free: 11.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006594/0.7382, allocations: 303.5 kB / 0.5984 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.7383, allocations: 11.95 kB / 0.5984 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-06/0.7383, allocations: 0 / 0.5984 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7383, allocations: 4 kB / 0.5984 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.7386, allocations: 55.03 kB / 0.5985 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.7387, allocations: 4 kB / 0.5985 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.7389, allocations: 42.89 kB / 0.5985 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.739, allocations: 11.56 kB / 0.5985 GB, free: 11.42 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: scenarioRT.ConsoECS:VARIABLE() "Hot water consumption at 40C [L]" type: Real scenarioAutre.Conso:VARIABLE() "Consumption en L" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001693/0.7392, allocations: 131.6 kB / 0.5986 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.7393, allocations: 51.34 kB / 0.5987 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007567/0.7401, allocations: 336.6 kB / 0.599 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.7401, allocations: 12.03 kB / 0.599 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7402, allocations: 7.938 kB / 0.599 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.325e-06/0.7402, allocations: 0 / 0.599 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.741, allocations: 0.5196 MB / 0.5995 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.7411, allocations: 0 / 0.5995 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.7414, allocations: 51.91 kB / 0.5996 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.472e-06/0.7414, allocations: 4 kB / 0.5996 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.7414, allocations: 6.938 kB / 0.5996 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.149e-06/0.7415, allocations: 7.953 kB / 0.5996 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.7415, allocations: 0 / 0.5996 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.7425, allocations: 0.6098 MB / 0.6002 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.7427, allocations: 157.9 kB / 0.6004 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.7428, allocations: 11.7 kB / 0.6004 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.7432, allocations: 23.61 kB / 0.6004 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.7433, allocations: 31.2 kB / 0.6004 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.7433, allocations: 11.98 kB / 0.6004 GB, free: 9.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006811/0.744, allocations: 399.8 kB / 0.6008 GB, free: 9.488 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.744, allocations: 0 / 0.6008 GB, free: 9.488 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.7446, allocations: 102.1 kB / 0.6009 GB, free: 9.398 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001341/0.746, allocations: 402.6 kB / 0.6013 GB, free: 9.105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.7465, allocations: 219.4 kB / 0.6015 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.091e-06/0.7466, allocations: 0 / 0.6015 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.7468, allocations: 131.4 kB / 0.6016 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.7474, allocations: 71.98 kB / 0.6017 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.749, allocations: 0.6471 MB / 0.6023 GB, free: 8.254 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.7496, allocations: 0.8678 MB / 0.6032 GB, free: 7.367 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.75, allocations: 83.47 kB / 0.6033 GB, free: 7.285 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.7502, allocations: 54.72 kB / 0.6033 GB, free: 7.234 MB / 490.7 MB Notification: Performance of SimCode: time 1.762e-06/0.7502, allocations: 4 kB / 0.6033 GB, free: 7.23 MB / 490.7 MB Notification: Performance of Templates: time 0.01413/0.7644, allocations: 4.666 MB / 0.6079 GB, free: 2.59 MB / 490.7 MB