Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadModel(Buildings): time 4.398/4.398, allocations: 431.3 MB / 445.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.459e-05, allocations: 8 kB / 0.5354 GB, free: 1.273 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6902, allocations: 98.7 MB / 0.6318 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007848/0.691, allocations: 308.8 kB / 0.6321 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002342/0.6913, allocations: 51.88 kB / 0.6322 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-06/0.6913, allocations: 0 / 0.6322 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.6913, allocations: 0 / 0.6322 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-06/0.6913, allocations: 0 / 0.6322 GB, free: 488 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.6915, allocations: 11.92 kB / 0.6322 GB, free: 476 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.091e-05/0.6915, allocations: 0 / 0.6322 GB, free: 476 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.6916, allocations: 4 kB / 0.6322 GB, free: 472 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.6916, allocations: 0 / 0.6322 GB, free: 472 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.6916, allocations: 4 kB / 0.6322 GB, free: 468 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.6918, allocations: 23.92 kB / 0.6322 GB, free: 444 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.6918, allocations: 0 / 0.6322 GB, free: 444 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.6918, allocations: 0 / 0.6322 GB, free: 444 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.393e-05/0.6918, allocations: 0 / 0.6322 GB, free: 444 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.278e-05/0.6919, allocations: 15.97 kB / 0.6322 GB, free: 428 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.6919, allocations: 0 / 0.6322 GB, free: 428 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6919, allocations: 0 / 0.6322 GB, free: 428 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.6919, allocations: 0 / 0.6322 GB, free: 428 kB / 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.0002758/0.6922, allocations: 315.3 kB / 0.6325 GB, free: 64 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6923, allocations: 12.09 kB / 0.6325 GB, free: 52 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.6926, allocations: 15.97 kB / 0.6325 GB, free: 36 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.6928, allocations: 163 kB / 0.6327 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6928, allocations: 0 / 0.6327 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.6928, allocations: 0 / 0.6327 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.693, allocations: 41.69 kB / 0.6327 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.693, allocations: 3.938 kB / 0.6327 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6931, allocations: 0 / 0.6327 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.6931, allocations: 4 kB / 0.6327 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.6932, allocations: 7.984 kB / 0.6327 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.6934, allocations: 149.6 kB / 0.6329 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.6935, allocations: 22.59 kB / 0.6329 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.6935, allocations: 8 kB / 0.6329 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.6936, allocations: 34.62 kB / 0.633 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.6936, allocations: 0 / 0.633 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0003133/0.6939, allocations: 45.61 kB / 0.633 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.694, allocations: 55.41 kB / 0.633 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.694, allocations: 88.94 kB / 0.6331 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.694, allocations: 25.83 kB / 0.6332 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.6941, allocations: 84.14 kB / 0.6332 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.6941, allocations: 0 / 0.6332 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.6941, allocations: 0 / 0.6332 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6943, allocations: 318.8 kB / 0.6335 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.6944, allocations: 4 kB / 0.6335 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.6944, allocations: 7.984 kB / 0.6336 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.712e-05/0.6945, allocations: 8 kB / 0.6336 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.6945, allocations: 7.953 kB / 0.6336 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001984/0.6948, allocations: 41.62 kB / 0.6336 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6948, allocations: 4 kB / 0.6336 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6948, allocations: 0 / 0.6336 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6948, allocations: 4 kB / 0.6336 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.6949, allocations: 7.984 kB / 0.6336 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.695, allocations: 0 / 0.6336 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.695, allocations: 6.391 kB / 0.6336 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6951, allocations: 4.031 kB / 0.6336 GB, free: 14.75 MB / 0.5105 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 7.898e-05/0.6951, allocations: 105.8 kB / 0.6337 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.6952, allocations: 7.938 kB / 0.6337 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.6952, allocations: 7.125 kB / 0.6337 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6952, allocations: 4 kB / 0.6338 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6952, allocations: 0 / 0.6338 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6952, allocations: 0 / 0.6338 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.6954, allocations: 141.7 kB / 0.6339 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6954, allocations: 0 / 0.6339 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.6955, allocations: 15.94 kB / 0.6339 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6955, allocations: 0 / 0.6339 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6955, allocations: 0 / 0.6339 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.6955, allocations: 0 / 0.6339 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6955, allocations: 0 / 0.6339 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.6957, allocations: 69.06 kB / 0.634 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.6958, allocations: 81.12 kB / 0.634 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6958, allocations: 7.953 kB / 0.6341 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.6959, allocations: 4 kB / 0.6341 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.6959, allocations: 0 / 0.6341 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.6959, allocations: 0 / 0.6341 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.6959, allocations: 75.28 kB / 0.6341 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.696, allocations: 0 / 0.6341 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002252/0.6962, allocations: 0 / 0.6341 GB, free: 14.15 MB / 0.5105 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.000149/0.6963, allocations: 103.2 kB / 0.6342 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.6966, allocations: 15.97 kB / 0.6342 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6966, allocations: 3.938 kB / 0.6342 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.6967, allocations: 7.938 kB / 0.6343 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.6968, allocations: 8.625 kB / 0.6343 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.6971, allocations: 82.75 kB / 0.6343 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6974, allocations: 0.6772 MB / 0.635 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.905e-05/0.6974, allocations: 4 kB / 0.635 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.6975, allocations: 7.438 kB / 0.635 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.6975, allocations: 0 / 0.635 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.002416/0.6999, allocations: 224.8 kB / 0.6352 GB, free: 12.97 MB / 0.5105 GB