Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.503/4.503, allocations: 458.9 MB / 473.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.036e-05, allocations: 4.75 kB / 0.5697 GB, free: 9.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.231, allocations: 106.2 MB / 0.6734 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002699/0.2338, allocations: 1.488 MB / 0.6749 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2352, allocations: 0.5312 MB / 0.6754 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2354, allocations: 7.938 kB / 0.6754 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.2354, allocations: 7.922 kB / 0.6754 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2356, allocations: 23.89 kB / 0.6754 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.2358, allocations: 51.88 kB / 0.6755 GB, free: 488 kB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.2361, allocations: 103.8 kB / 0.6756 GB, free: 384 kB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2363, allocations: 28.17 kB / 0.6756 GB, free: 356 kB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.2364, allocations: 35.91 kB / 0.6756 GB, free: 320 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.2365, allocations: 43.77 kB / 0.6757 GB, free: 276 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 2.759e-05/0.2365, allocations: 4 kB / 0.6757 GB, free: 272 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2366, allocations: 4 kB / 0.6757 GB, free: 268 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.2366, allocations: 19.86 kB / 0.6757 GB, free: 248 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.2366, allocations: 8 kB / 0.6757 GB, free: 240 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.2368, allocations: 92.05 kB / 0.6758 GB, free: 148 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2368, allocations: 0 / 0.6758 GB, free: 148 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2368, allocations: 4 kB / 0.6758 GB, free: 144 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.2369, allocations: 0 / 0.6758 GB, free: 144 kB / 0.5417 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.000886/0.2378, allocations: 438.8 kB / 0.6762 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2378, allocations: 8.031 kB / 0.6762 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.2379, allocations: 19.77 kB / 0.6763 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.2383, allocations: 226.8 kB / 0.6765 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2383, allocations: 11.98 kB / 0.6765 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2384, allocations: 15.91 kB / 0.6765 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.2389, allocations: 153.9 kB / 0.6767 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2389, allocations: 0 / 0.6767 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2389, allocations: 7.984 kB / 0.6767 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.2389, allocations: 7.953 kB / 0.6767 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.2393, allocations: 79.88 kB / 0.6767 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.2407, allocations: 0.7315 MB / 0.6775 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.241, allocations: 54.48 kB / 0.6775 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.241, allocations: 160 / 0.6775 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.2414, allocations: 142.6 kB / 0.6776 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.2415, allocations: 0 / 0.6776 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007891/0.2423, allocations: 185.6 kB / 0.6778 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.2424, allocations: 132.5 kB / 0.6779 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.2426, allocations: 178.1 kB / 0.6781 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2427, allocations: 33.64 kB / 0.6782 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.2428, allocations: 127.8 kB / 0.6783 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.2429, allocations: 35.61 kB / 0.6783 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.2429, allocations: 4 kB / 0.6783 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2431, allocations: 330.8 kB / 0.6786 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.2433, allocations: 40.36 kB / 0.6787 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.2436, allocations: 145.8 kB / 0.6788 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2439, allocations: 67.91 kB / 0.6789 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2439, allocations: 7.938 kB / 0.6789 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006949/0.2446, allocations: 209.2 kB / 0.6791 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.2447, allocations: 8 kB / 0.6791 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.2447, allocations: 4 kB / 0.6791 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.2447, allocations: 4 kB / 0.6791 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.245, allocations: 52.27 kB / 0.6791 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.245, allocations: 4 kB / 0.6791 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.2452, allocations: 31.73 kB / 0.6792 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2453, allocations: 12 kB / 0.6792 GB, free: 12.36 MB / 0.5573 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.pulseStart,booleanPulse.pulseStart,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.0001652/0.2455, allocations: 135.5 kB / 0.6793 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.2455, allocations: 15.81 kB / 0.6793 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.2456, allocations: 21.39 kB / 0.6794 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2456, allocations: 8 kB / 0.6794 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2456, allocations: 3.953 kB / 0.6794 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.2456, allocations: 0 / 0.6794 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2469, allocations: 0.5255 MB / 0.6799 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.247, allocations: 0 / 0.6799 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2472, allocations: 27.98 kB / 0.6799 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.2472, allocations: 0 / 0.6799 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2473, allocations: 11.98 kB / 0.6799 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2473, allocations: 0 / 0.6799 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2473, allocations: 3.984 kB / 0.6799 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.2482, allocations: 417.2 kB / 0.6803 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.2483, allocations: 88.92 kB / 0.6804 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.2483, allocations: 8 kB / 0.6804 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.2486, allocations: 20.03 kB / 0.6804 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.2487, allocations: 15.97 kB / 0.6804 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2487, allocations: 4 kB / 0.6804 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001859/0.2489, allocations: 140.4 kB / 0.6806 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2489, allocations: 3.938 kB / 0.6806 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004434/0.2494, allocations: 31.94 kB / 0.6806 GB, free: 10.77 MB / 0.5573 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.pulseStart,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.0001743/0.2496, allocations: 119.1 kB / 0.6807 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.2501, allocations: 120.4 kB / 0.6808 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2502, allocations: 4.312 kB / 0.6808 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.2505, allocations: 51.91 kB / 0.6809 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.2511, allocations: 60.5 kB / 0.681 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.252, allocations: 390.8 kB / 0.6813 GB, free: 10 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.2523, allocations: 0.7284 MB / 0.682 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.2525, allocations: 17.55 kB / 0.6821 GB, free: 9.227 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.2526, allocations: 19.44 kB / 0.6821 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.2526, allocations: 0 / 0.6821 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of Templates: time 0.007739/0.2603, allocations: 1.744 MB / 0.6838 GB, free: 7.48 MB / 0.5573 GB