Notification: Performance of FrontEnd - loaded program: time 8.87e-06/8.939e-06, allocations: 0 / 439.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 78.98 MB / 0.5064 GB, free: 2.75 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.2464, allocations: 109.2 MB / 0.6131 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.2467, allocations: 75.95 kB / 0.6132 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0183/0.2651, allocations: 3.868 MB / 0.617 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.2652, allocations: 4 kB / 0.617 GB, free: 1.406 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008123/0.266, allocations: 0.5399 MB / 0.6175 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2661, allocations: 8.031 kB / 0.6175 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2663, allocations: 23.88 kB / 0.6175 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2665, allocations: 197.9 kB / 0.6177 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.2666, allocations: 7.984 kB / 0.6177 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.2667, allocations: 12 kB / 0.6177 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.2668, allocations: 31.88 kB / 0.6178 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.2671, allocations: 117.5 kB / 0.6179 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2672, allocations: 0 / 0.6179 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.2673, allocations: 4 kB / 0.6179 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-06/0.2674, allocations: 0 / 0.6179 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2679, allocations: 311.3 kB / 0.6182 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06198/0.3299, allocations: 89.28 kB / 0.6183 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.33, allocations: 15.52 kB / 0.6183 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.3301, allocations: 3.188 kB / 0.6183 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.3305, allocations: 139.9 kB / 0.6184 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.794e-06/0.3306, allocations: 3.844 kB / 0.6184 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0003937/0.331, allocations: 132.3 kB / 0.6185 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001695/0.3313, allocations: 39.06 kB / 0.6186 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.3313, allocations: 14.5 kB / 0.6186 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3315, allocations: 260.8 kB / 0.6188 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.3316, allocations: 29.45 kB / 0.6189 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.3317, allocations: 91.02 kB / 0.619 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.3318, allocations: 40.8 kB / 0.619 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3319, allocations: 5.719 kB / 0.619 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.3321, allocations: 327.6 kB / 0.6193 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3323, allocations: 45.05 kB / 0.6194 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3325, allocations: 97.8 kB / 0.6195 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3327, allocations: 51.77 kB / 0.6195 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-06/0.3327, allocations: 0 / 0.6195 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005179/0.3333, allocations: 205.2 kB / 0.6197 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3334, allocations: 7.812 kB / 0.6197 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3335, allocations: 6.969 kB / 0.6197 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.076e-06/0.3335, allocations: 0 / 0.6197 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3338, allocations: 29.31 kB / 0.6197 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.3343, allocations: 59.88 kB / 0.6198 GB, free: 180.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0002342/0.3346, allocations: 127.1 kB / 0.6199 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.3347, allocations: 18.59 kB / 0.6199 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.3348, allocations: 9.375 kB / 0.6199 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.215e-06/0.3349, allocations: 3.375 kB / 0.6199 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.915e-06/0.3349, allocations: 0 / 0.6199 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-06/0.335, allocations: 5.938 kB / 0.62 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.3357, allocations: 450.5 kB / 0.6204 GB, free: 180 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-06/0.3358, allocations: 0 / 0.6204 GB, free: 180 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.3359, allocations: 11.41 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.683e-06/0.336, allocations: 3.562 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.336, allocations: 14.97 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.47e-06/0.3361, allocations: 3.844 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.701e-06/0.3361, allocations: 2.75 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002648/0.3365, allocations: 221.6 kB / 0.6206 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.3367, allocations: 142.2 kB / 0.6208 GB, free: 179.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.3368, allocations: 11.47 kB / 0.6208 GB, free: 179.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3371, allocations: 10.97 kB / 0.6208 GB, free: 179.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.3372, allocations: 10.98 kB / 0.6208 GB, free: 179.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002338/0.3375, allocations: 134 kB / 0.6209 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.338, allocations: 212.5 kB / 0.6211 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.213e-06/0.3381, allocations: 0 / 0.6211 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3382, allocations: 54.14 kB / 0.6212 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.3385, allocations: 5.062 kB / 0.6212 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.3392, allocations: 238.5 kB / 0.6214 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.3396, allocations: 0.8169 MB / 0.6222 GB, free: 178.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.886e-06/0.3397, allocations: 0 / 0.6222 GB, free: 178.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.05591/0.3957, allocations: 4.162 MB / 0.6263 GB, free: 178.4 MB / 0.5137 GB