Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.501/4.501, allocations: 431.3 MB / 445.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.535e-05, allocations: 7.984 kB / 0.5354 GB, free: 14.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.64, allocations: 98.7 MB / 0.6318 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002689/0.6427, allocations: 1.473 MB / 0.6332 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.6441, allocations: 0.5123 MB / 0.6337 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.6443, allocations: 11.94 kB / 0.6337 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.6443, allocations: 11.86 kB / 0.6338 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.6445, allocations: 27.89 kB / 0.6338 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.6447, allocations: 47.94 kB / 0.6338 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.645, allocations: 107.7 kB / 0.6339 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.6452, allocations: 28.16 kB / 0.634 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.6453, allocations: 27.92 kB / 0.634 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.6454, allocations: 51.75 kB / 0.634 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.6454, allocations: 4 kB / 0.634 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.6454, allocations: 8 kB / 0.634 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.6455, allocations: 15.92 kB / 0.6341 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.6455, allocations: 8 kB / 0.6341 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.6457, allocations: 86.16 kB / 0.6341 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6457, allocations: 4 kB / 0.6342 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.42e-06/0.6457, allocations: 3.938 kB / 0.6342 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.6457, allocations: 3.938 kB / 0.6342 GB, free: 9.488 MB / 0.5105 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.0008118/0.6466, allocations: 432.7 kB / 0.6346 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6466, allocations: 8.031 kB / 0.6346 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.6467, allocations: 23.77 kB / 0.6346 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.647, allocations: 226.7 kB / 0.6348 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.6471, allocations: 4 kB / 0.6348 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.6471, allocations: 19.91 kB / 0.6348 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.6476, allocations: 154.7 kB / 0.635 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6476, allocations: 0 / 0.635 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.6476, allocations: 7.984 kB / 0.635 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6477, allocations: 7.953 kB / 0.635 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.6481, allocations: 79.89 kB / 0.6351 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.6494, allocations: 0.7315 MB / 0.6358 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.6497, allocations: 54.48 kB / 0.6358 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6497, allocations: 4.156 kB / 0.6359 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.6501, allocations: 134.7 kB / 0.636 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/0.6501, allocations: 0 / 0.636 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0007862/0.6509, allocations: 185.4 kB / 0.6362 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.651, allocations: 140.8 kB / 0.6363 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.6513, allocations: 174 kB / 0.6365 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6514, allocations: 29.69 kB / 0.6365 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.6515, allocations: 139.5 kB / 0.6366 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.6516, allocations: 31.55 kB / 0.6366 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.6516, allocations: 4 kB / 0.6367 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6517, allocations: 326.8 kB / 0.637 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.652, allocations: 48.34 kB / 0.637 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.6523, allocations: 151.2 kB / 0.6372 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.6526, allocations: 63.8 kB / 0.6372 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6526, allocations: 4 kB / 0.6372 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007208/0.6533, allocations: 213.6 kB / 0.6374 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.6534, allocations: 12 kB / 0.6374 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6534, allocations: 4 kB / 0.6374 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.6534, allocations: 7.938 kB / 0.6374 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.6537, allocations: 35.94 kB / 0.6375 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.6537, allocations: 7.938 kB / 0.6375 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.654, allocations: 39.72 kB / 0.6375 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.654, allocations: 12 kB / 0.6375 GB, free: 5.699 MB / 0.5105 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,sampleTrigger.y,$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.0001641/0.6542, allocations: 128.8 kB / 0.6377 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.6542, allocations: 24.05 kB / 0.6377 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.6543, allocations: 25.38 kB / 0.6377 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6543, allocations: 4 kB / 0.6377 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6543, allocations: 3.953 kB / 0.6377 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6544, allocations: 0 / 0.6377 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.6556, allocations: 0.5211 MB / 0.6382 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6556, allocations: 0 / 0.6382 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6559, allocations: 27.92 kB / 0.6382 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.6559, allocations: 0 / 0.6382 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.6559, allocations: 7.953 kB / 0.6383 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6559, allocations: 0 / 0.6383 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6559, allocations: 0 / 0.6383 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.6568, allocations: 421.1 kB / 0.6387 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.657, allocations: 92.95 kB / 0.6387 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.657, allocations: 8 kB / 0.6388 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.6573, allocations: 16.3 kB / 0.6388 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.6574, allocations: 11.98 kB / 0.6388 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.6574, allocations: 4 kB / 0.6388 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001891/0.6576, allocations: 144.4 kB / 0.6389 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6576, allocations: 0 / 0.6389 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000455/0.6581, allocations: 31.98 kB / 0.639 GB, free: 4.121 MB / 0.5105 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,sampleTrigger.y,$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.0001816/0.6583, allocations: 111.2 kB / 0.6391 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.6589, allocations: 124.1 kB / 0.6392 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6589, allocations: 0 / 0.6392 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.6592, allocations: 56.72 kB / 0.6392 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.6598, allocations: 56.52 kB / 0.6393 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.6607, allocations: 394.6 kB / 0.6397 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.6611, allocations: 0.7323 MB / 0.6404 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.6613, allocations: 17.86 kB / 0.6404 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.6614, allocations: 19.42 kB / 0.6404 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.6614, allocations: 4 kB / 0.6404 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of Templates: time 0.007536/0.6689, allocations: 1.739 MB / 0.6421 GB, free: 0.832 MB / 0.5105 GB