Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 3.876/3.876, allocations: 402 MB / 416.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.93e-05, allocations: 7.984 kB / 0.5009 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 92.69 MB / 0.5915 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002577/0.2278, allocations: 1.438 MB / 0.5929 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2291, allocations: 0.5196 MB / 0.5934 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2293, allocations: 11.88 kB / 0.5934 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.2293, allocations: 7.922 kB / 0.5934 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2295, allocations: 27.89 kB / 0.5934 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.2298, allocations: 51.88 kB / 0.5935 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2301, allocations: 99.75 kB / 0.5936 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2302, allocations: 28.17 kB / 0.5936 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.2303, allocations: 31.92 kB / 0.5936 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.2304, allocations: 47.75 kB / 0.5937 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.2305, allocations: 4 kB / 0.5937 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.2305, allocations: 4 kB / 0.5937 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.2305, allocations: 23.86 kB / 0.5937 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.2306, allocations: 12 kB / 0.5937 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2308, allocations: 84.05 kB / 0.5938 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2308, allocations: 0 / 0.5938 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2308, allocations: 0 / 0.5938 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.2308, allocations: 7.938 kB / 0.5938 GB, free: 8.988 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000841/0.2317, allocations: 434.9 kB / 0.5942 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2317, allocations: 8.031 kB / 0.5942 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.2318, allocations: 23.8 kB / 0.5942 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.2321, allocations: 222.7 kB / 0.5945 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2322, allocations: 8 kB / 0.5945 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.2322, allocations: 12 kB / 0.5945 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.2327, allocations: 155.7 kB / 0.5946 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2327, allocations: 7.938 kB / 0.5946 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.2327, allocations: 3.953 kB / 0.5946 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2328, allocations: 4 kB / 0.5946 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.2332, allocations: 79.89 kB / 0.5947 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2345, allocations: 0.7315 MB / 0.5954 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.2348, allocations: 62.47 kB / 0.5955 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.2348, allocations: 4 kB / 0.5955 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.2352, allocations: 126.8 kB / 0.5956 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 2.906e-06/0.2352, allocations: 0 / 0.5956 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007857/0.236, allocations: 189.5 kB / 0.5958 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.2361, allocations: 132.5 kB / 0.5959 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.2363, allocations: 178.1 kB / 0.5961 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2364, allocations: 33.7 kB / 0.5961 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2365, allocations: 123.8 kB / 0.5962 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.2366, allocations: 39.61 kB / 0.5963 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.2366, allocations: 0 / 0.5963 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2368, allocations: 330.8 kB / 0.5966 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.237, allocations: 44.34 kB / 0.5966 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.2373, allocations: 149.2 kB / 0.5968 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.2376, allocations: 68.09 kB / 0.5968 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2376, allocations: 0 / 0.5968 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006992/0.2383, allocations: 221.1 kB / 0.5971 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2383, allocations: 8 kB / 0.5971 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2383, allocations: 4 kB / 0.5971 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.2384, allocations: 7.953 kB / 0.5971 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2386, allocations: 36.27 kB / 0.5971 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.2387, allocations: 11.98 kB / 0.5971 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.2389, allocations: 35.77 kB / 0.5972 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.239, allocations: 12 kB / 0.5972 GB, free: 5.215 MB / 0.4948 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.000184/0.2392, allocations: 133.7 kB / 0.5973 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.2392, allocations: 15.81 kB / 0.5973 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.2393, allocations: 21.39 kB / 0.5973 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.2393, allocations: 11.95 kB / 0.5973 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2393, allocations: 0 / 0.5973 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.2394, allocations: 96.84 kB / 0.5974 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2395, allocations: 8 kB / 0.5974 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2397, allocations: 15.98 kB / 0.5975 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.2398, allocations: 7.984 kB / 0.5975 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00106/0.2409, allocations: 490.7 kB / 0.5979 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001045/0.2419, allocations: 0.6225 MB / 0.5985 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002478/0.2422, allocations: 56 kB / 0.5986 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001866/0.2424, allocations: 148.3 kB / 0.5987 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of Backend: time 6.61e-07/0.2424, allocations: 3.938 kB / 0.5987 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008022/0.2432, allocations: 166.5 kB / 0.5989 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001346/0.2446, allocations: 0.8507 MB / 0.5997 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of Templates: time 0.008053/0.2527, allocations: 1.935 MB / 0.6016 GB, free: 0.5508 MB / 0.4948 GB