Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadModel(BuildingSystems): time 3.336/3.336, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.343e-05, allocations: 8 kB / 436.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1373, allocations: 77.72 MB / 0.5023 GB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.677, allocations: 104.9 MB / 0.6047 GB, free: 248 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6773, allocations: 75.95 kB / 0.6047 GB, free: 172 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001605/0.6789, allocations: 0.5334 MB / 0.6052 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.679, allocations: 0 / 0.6052 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.263e-06/0.679, allocations: 4 kB / 0.6053 GB, free: 15.63 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002738/0.6793, allocations: 306.4 kB / 0.6055 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6793, allocations: 8.094 kB / 0.6056 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.6795, allocations: 19.91 kB / 0.6056 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.6797, allocations: 167 kB / 0.6057 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6797, allocations: 0 / 0.6057 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6797, allocations: 8 kB / 0.6057 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.598e-05/0.6799, allocations: 29.69 kB / 0.6058 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.6799, allocations: 0 / 0.6058 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-06/0.6799, allocations: 0 / 0.6058 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-06/0.6799, allocations: 0 / 0.6058 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.6799, allocations: 4 kB / 0.6058 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.6801, allocations: 157.6 kB / 0.6059 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.6802, allocations: 18.61 kB / 0.6059 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.6802, allocations: 12.8 kB / 0.606 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.6803, allocations: 3.984 kB / 0.606 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.6803, allocations: 34.62 kB / 0.606 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.863e-06/0.6803, allocations: 0 / 0.606 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.6805, allocations: 36.42 kB / 0.606 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.6805, allocations: 51.41 kB / 0.6061 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.6806, allocations: 85 kB / 0.6062 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6806, allocations: 29.7 kB / 0.6062 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.6807, allocations: 84.17 kB / 0.6063 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.6807, allocations: 0 / 0.6063 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-06/0.6807, allocations: 0 / 0.6063 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6809, allocations: 310.8 kB / 0.6066 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.6809, allocations: 4 kB / 0.6066 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.6809, allocations: 0 / 0.6066 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.6809, allocations: 7.953 kB / 0.6066 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-06/0.681, allocations: 3.938 kB / 0.6066 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.28e-05/0.6811, allocations: 37.75 kB / 0.6066 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.6811, allocations: 4.625 kB / 0.6066 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.815e-06/0.6811, allocations: 0 / 0.6066 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6811, allocations: 4 kB / 0.6066 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.735e-05/0.6812, allocations: 0 / 0.6066 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.768e-06/0.6812, allocations: 0 / 0.6066 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.6813, allocations: 7.984 kB / 0.6066 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-06/0.6813, allocations: 0 / 0.6066 GB, free: 14.02 MB / 0.4948 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 (1): * Single equations (assignments): 1 * 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 8.593e-05/0.6814, allocations: 104.9 kB / 0.6067 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.6814, allocations: 8.031 kB / 0.6067 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.6815, allocations: 3.125 kB / 0.6067 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-06/0.6815, allocations: 4 kB / 0.6067 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-06/0.6815, allocations: 0.5625 kB / 0.6067 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.6815, allocations: 3.938 kB / 0.6067 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.6816, allocations: 145.7 kB / 0.6069 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-06/0.6817, allocations: 7.891 kB / 0.6069 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.6817, allocations: 7.062 kB / 0.6069 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6817, allocations: 0 / 0.6069 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-06/0.6818, allocations: 4 kB / 0.6069 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-06/0.6818, allocations: 0 / 0.6069 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6818, allocations: 3.984 kB / 0.6069 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.6819, allocations: 61.08 kB / 0.607 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.682, allocations: 81.06 kB / 0.607 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.682, allocations: 0 / 0.607 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.682, allocations: 7.984 kB / 0.607 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.6821, allocations: 4.031 kB / 0.6071 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-06/0.6821, allocations: 0 / 0.6071 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.6821, allocations: 75.28 kB / 0.6071 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.95e-07/0.6822, allocations: 0 / 0.6071 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002309/0.6824, allocations: 0 / 0.6071 GB, free: 13.41 MB / 0.4948 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 (1): * Single equations (assignments): 1 * 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.0001383/0.6825, allocations: 103.2 kB / 0.6072 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.403e-05/0.6826, allocations: 4 kB / 0.6072 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.6826, allocations: 0 / 0.6072 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.6827, allocations: 11.98 kB / 0.6072 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.6828, allocations: 4 kB / 0.6072 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.683, allocations: 45.06 kB / 0.6073 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6833, allocations: 0.677 MB / 0.6079 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.216e-05/0.6834, allocations: 4.062 kB / 0.6079 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.6834, allocations: 7.438 kB / 0.608 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.338e-06/0.6835, allocations: 3.938 kB / 0.608 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.002162/0.6856, allocations: 227.5 kB / 0.6082 GB, free: 12.28 MB / 0.4948 GB