Notification: Performance of FrontEnd - loaded program: time 8.171e-06/8.381e-06, allocations: 0 / 439.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 78.97 MB / 0.5064 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.2444, allocations: 109.3 MB / 0.6132 GB, free: 5.238 MB / 0.5138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.2447, allocations: 67.97 kB / 0.6132 GB, free: 5.172 MB / 0.5138 GB Notification: Performance of FrontEnd: time 0.01824/0.263, allocations: 3.868 MB / 0.617 GB, free: 1.297 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.2632, allocations: 4 kB / 0.617 GB, free: 1.293 MB / 0.5138 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.0008376/0.264, allocations: 0.5439 MB / 0.6175 GB, free: 0.6797 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2641, allocations: 8.031 kB / 0.6175 GB, free: 0.6719 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2643, allocations: 23.88 kB / 0.6176 GB, free: 0.6484 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2645, allocations: 197.9 kB / 0.6178 GB, free: 420 kB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2646, allocations: 4 kB / 0.6178 GB, free: 416 kB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2647, allocations: 19.94 kB / 0.6178 GB, free: 396 kB / 0.5138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.2649, allocations: 35.88 kB / 0.6178 GB, free: 360 kB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.2652, allocations: 105.5 kB / 0.6179 GB, free: 248 kB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2652, allocations: 4 kB / 0.6179 GB, free: 244 kB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.2653, allocations: 0 / 0.6179 GB, free: 244 kB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-06/0.2654, allocations: 0 / 0.6179 GB, free: 244 kB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/0.3248, allocations: 319.8 kB / 0.6182 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.3252, allocations: 87.47 kB / 0.6183 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.3254, allocations: 10.42 kB / 0.6183 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.3255, allocations: 3.188 kB / 0.6183 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.3261, allocations: 141.4 kB / 0.6185 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=18): time 3.213e-06/0.3262, allocations: 0 / 0.6185 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=18): time 0.0005764/0.3268, allocations: 138 kB / 0.6186 GB, free: 181 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002149/0.3271, allocations: 38.38 kB / 0.6186 GB, free: 181 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3272, allocations: 14.34 kB / 0.6186 GB, free: 181 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3274, allocations: 253.2 kB / 0.6189 GB, free: 180.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/0.3276, allocations: 39.89 kB / 0.6189 GB, free: 180.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.3278, allocations: 83.33 kB / 0.619 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.328, allocations: 40.97 kB / 0.619 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.3281, allocations: 6.469 kB / 0.619 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.3282, allocations: 321.8 kB / 0.6194 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3286, allocations: 44.27 kB / 0.6194 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3289, allocations: 97.8 kB / 0.6195 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3292, allocations: 48.33 kB / 0.6195 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-06/0.3293, allocations: 6.844 kB / 0.6195 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008238/0.3302, allocations: 215.9 kB / 0.6197 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3303, allocations: 0 / 0.6197 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.3304, allocations: 7.781 kB / 0.6198 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3305, allocations: 9.297 kB / 0.6198 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.3308, allocations: 26.44 kB / 0.6198 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.3316, allocations: 51.72 kB / 0.6198 GB, free: 180.3 MB / 0.5138 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.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.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.0003591/0.3321, allocations: 132.6 kB / 0.62 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.3323, allocations: 19.39 kB / 0.62 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.3324, allocations: 10.41 kB / 0.62 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-06/0.3325, allocations: 0 / 0.62 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.451e-06/0.3326, allocations: 0 / 0.62 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3326, allocations: 7.656 kB / 0.62 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.3337, allocations: 447.4 kB / 0.6204 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3338, allocations: 3.375 kB / 0.6204 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.3339, allocations: 12.81 kB / 0.6204 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-06/0.334, allocations: 6.938 kB / 0.6204 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.3342, allocations: 7.312 kB / 0.6205 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.47e-06/0.3342, allocations: 0 / 0.6205 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.121e-06/0.3343, allocations: 3.422 kB / 0.6205 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004202/0.3348, allocations: 229.3 kB / 0.6207 GB, free: 179.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.3352, allocations: 136.4 kB / 0.6208 GB, free: 179.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3354, allocations: 3.5 kB / 0.6208 GB, free: 179.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.336, allocations: 16.45 kB / 0.6208 GB, free: 179.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.3362, allocations: 25.92 kB / 0.6208 GB, free: 179.6 MB / 0.5138 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.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.0003421/0.3366, allocations: 132.1 kB / 0.621 GB, free: 179.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0007094/0.3374, allocations: 201.1 kB / 0.6212 GB, free: 179.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.3375, allocations: 3.938 kB / 0.6212 GB, free: 179.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3378, allocations: 50.19 kB / 0.6212 GB, free: 179.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3383, allocations: 22.28 kB / 0.6212 GB, free: 179.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.3392, allocations: 239.8 kB / 0.6215 GB, free: 179.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/0.3399, allocations: 0.8078 MB / 0.6223 GB, free: 178.6 MB / 0.5138 GB Notification: Performance of SimCode: time 2.584e-06/0.34, allocations: 0 / 0.6223 GB, free: 178.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.04497/0.385, allocations: 4.127 MB / 0.6263 GB, free: 178.3 MB / 0.5138 GB