Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadModel(Buildings): time 4.17/4.17, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.161e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7413/0.9383, allocations: 132.4 MB / 0.807 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.9386, allocations: 72.34 kB / 0.8071 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.9559, allocations: 4.323 MB / 0.8113 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.163e-06/0.9559, allocations: 0 / 0.8113 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.16e-06/0.956, allocations: 4 kB / 0.8113 GB, free: 11.93 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003502/0.9563, allocations: 371.8 kB / 0.8117 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.9564, allocations: 7.625 kB / 0.8117 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.9564, allocations: 3.844 kB / 0.8117 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.9565, allocations: 170.9 kB / 0.8118 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-06/0.9565, allocations: 0 / 0.8118 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.9566, allocations: 3.844 kB / 0.8119 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.9567, allocations: 39.12 kB / 0.8119 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.123e-06/0.9567, allocations: 0 / 0.8119 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-06/0.9567, allocations: 0 / 0.8119 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-06/0.9567, allocations: 0 / 0.8119 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.9568, allocations: 13.31 kB / 0.8119 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.9572, allocations: 277.7 kB / 0.8122 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.25e-05/0.9573, allocations: 29.95 kB / 0.8122 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.9573, allocations: 11.39 kB / 0.8122 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/0.9579, allocations: 459.7 kB / 0.8126 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.9579, allocations: 33.75 kB / 0.8127 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.126e-06/0.9579, allocations: 0 / 0.8127 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.9581, allocations: 43.64 kB / 0.8127 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.9582, allocations: 51.41 kB / 0.8128 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.9582, allocations: 94.83 kB / 0.8129 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.9582, allocations: 33.55 kB / 0.8129 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.9583, allocations: 83.58 kB / 0.813 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.9583, allocations: 3.906 kB / 0.813 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-06/0.9583, allocations: 0 / 0.813 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.9584, allocations: 325.5 kB / 0.8133 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.9584, allocations: 4.094 kB / 0.8133 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.9584, allocations: 7.344 kB / 0.8133 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.9585, allocations: 3.844 kB / 0.8133 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-06/0.9585, allocations: 4.062 kB / 0.8133 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001133/0.9586, allocations: 43.66 kB / 0.8133 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9586, allocations: 7.875 kB / 0.8134 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.004e-06/0.9587, allocations: 0 / 0.8134 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9587, allocations: 0 / 0.8134 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.9588, allocations: 10.38 kB / 0.8134 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.647e-06/0.9588, allocations: 0 / 0.8134 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.9589, allocations: 10.39 kB / 0.8134 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-06/0.9589, allocations: 8.219 kB / 0.8134 GB, free: 9.836 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.591e-05/0.959, allocations: 111.5 kB / 0.8135 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.959, allocations: 7.781 kB / 0.8135 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.9592, allocations: 56.31 kB / 0.8135 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.134e-06/0.9592, allocations: 7.812 kB / 0.8136 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.331e-06/0.9592, allocations: 0 / 0.8136 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.9592, allocations: 0 / 0.8136 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.9594, allocations: 164.3 kB / 0.8137 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-06/0.9594, allocations: 4.031 kB / 0.8137 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.9595, allocations: 10.47 kB / 0.8137 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.516e-06/0.9595, allocations: 3.969 kB / 0.8137 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-06/0.9595, allocations: 3.75 kB / 0.8137 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-06/0.9595, allocations: 0 / 0.8137 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-06/0.9595, allocations: 0 / 0.8137 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.9597, allocations: 137.1 kB / 0.8139 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.9597, allocations: 85.09 kB / 0.8139 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.9597, allocations: 5.578 kB / 0.8139 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.9598, allocations: 10.61 kB / 0.814 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.9599, allocations: 7.766 kB / 0.814 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-06/0.9599, allocations: 0 / 0.814 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.9599, allocations: 82.03 kB / 0.814 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.31e-07/0.96, allocations: 0 / 0.814 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003113/0.9603, allocations: 11.41 kB / 0.8141 GB, free: 9.156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001558/0.9604, allocations: 132.3 kB / 0.8142 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.578e-05/0.9606, allocations: 11.28 kB / 0.8142 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.362e-06/0.9606, allocations: 0 / 0.8142 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.178e-05/0.9606, allocations: 7.781 kB / 0.8142 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.9608, allocations: 3.375 kB / 0.8142 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.961, allocations: 71.2 kB / 0.8143 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.9616, allocations: 0.6827 MB / 0.8149 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.9616, allocations: 3.656 kB / 0.8149 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.9616, allocations: 7.438 kB / 0.8149 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of SimCode: time 1.28e-06/0.9617, allocations: 0 / 0.8149 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.003067/0.9647, allocations: 0.6077 MB / 0.8155 GB, free: 24.22 MB / 0.6511 GB