Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 3.552/3.552, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.884e-05, allocations: 4 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.4997, allocations: 92.7 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.6906, allocations: 122.1 MB / 0.7088 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.6908, allocations: 67.97 kB / 0.7089 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.7042, allocations: 3.384 MB / 0.7122 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.653e-06/0.7042, allocations: 0 / 0.7122 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.7043, allocations: 4 kB / 0.7122 GB, free: 0.7812 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000685/0.705, allocations: 442.5 kB / 0.7126 GB, free: 312 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.705, allocations: 8.031 kB / 0.7126 GB, free: 304 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.7051, allocations: 23.77 kB / 0.7126 GB, free: 280 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.7054, allocations: 230.7 kB / 0.7128 GB, free: 8 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7055, allocations: 8 kB / 0.7128 GB, free: 0 / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.7055, allocations: 12.05 kB / 0.7129 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.7058, allocations: 133.8 kB / 0.713 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7059, allocations: 0 / 0.713 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.7059, allocations: 4 kB / 0.713 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-06/0.7059, allocations: 4 kB / 0.713 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.7061, allocations: 47.89 kB / 0.713 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.7074, allocations: 0.7512 MB / 0.7138 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.7075, allocations: 38.56 kB / 0.7138 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/0.7076, allocations: 20.86 kB / 0.7138 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7076, allocations: 0 / 0.7138 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.7079, allocations: 118.7 kB / 0.7139 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.823e-06/0.7079, allocations: 0 / 0.7139 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.000315/0.7082, allocations: 109.4 kB / 0.714 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.7083, allocations: 132.5 kB / 0.7142 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.7086, allocations: 174 kB / 0.7143 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.7086, allocations: 29.77 kB / 0.7144 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.7087, allocations: 131.8 kB / 0.7145 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.7088, allocations: 31.97 kB / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.7088, allocations: 8 kB / 0.7145 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.709, allocations: 335 kB / 0.7149 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.7091, allocations: 28.31 kB / 0.7149 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.7093, allocations: 127.2 kB / 0.715 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.7094, allocations: 43.92 kB / 0.715 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.314e-06/0.7094, allocations: 4 kB / 0.715 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005276/0.7099, allocations: 165.2 kB / 0.7152 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.71, allocations: 10.06 kB / 0.7152 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.71, allocations: 8 kB / 0.7152 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.7101, allocations: 4 kB / 0.7152 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.7104, allocations: 35.92 kB / 0.7153 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.7105, allocations: 11.89 kB / 0.7153 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.7108, allocations: 35.81 kB / 0.7153 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.7109, allocations: 12 kB / 0.7153 GB, free: 13.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001303/0.711, allocations: 127 kB / 0.7154 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.7111, allocations: 15.91 kB / 0.7155 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.7112, allocations: 25.5 kB / 0.7155 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.7112, allocations: 4 kB / 0.7155 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-06/0.7112, allocations: 0 / 0.7155 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.7112, allocations: 11.89 kB / 0.7155 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.7122, allocations: 497.7 kB / 0.716 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-06/0.7122, allocations: 0 / 0.716 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.7125, allocations: 27.97 kB / 0.716 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.7126, allocations: 0 / 0.716 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.7126, allocations: 7.953 kB / 0.716 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.7127, allocations: 3.938 kB / 0.716 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-06/0.7127, allocations: 0 / 0.716 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/0.7134, allocations: 353.4 kB / 0.7163 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.7136, allocations: 92.83 kB / 0.7164 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.7136, allocations: 8 kB / 0.7164 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.7141, allocations: 24.02 kB / 0.7165 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7142, allocations: 15.92 kB / 0.7165 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.7143, allocations: 4 kB / 0.7165 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002941/0.7146, allocations: 139 kB / 0.7166 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.451e-06/0.7146, allocations: 4 kB / 0.7166 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009942/0.7156, allocations: 24 kB / 0.7166 GB, free: 11.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulsStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002793/0.7159, allocations: 115.2 kB / 0.7167 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.7164, allocations: 79.86 kB / 0.7168 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7165, allocations: 3.938 kB / 0.7168 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.7166, allocations: 32 kB / 0.7169 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.7175, allocations: 63.05 kB / 0.7169 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.7184, allocations: 264.4 kB / 0.7172 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.719, allocations: 0.7246 MB / 0.7179 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.7192, allocations: 30.03 kB / 0.7179 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.7193, allocations: 19.44 kB / 0.7179 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.356e-06/0.7193, allocations: 0 / 0.7179 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.008923/0.7283, allocations: 1.736 MB / 0.7196 GB, free: 8.648 MB / 0.6042 GB