Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.568e-06, allocations: 1.219 kB / 439.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 78.98 MB / 0.5065 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.2467, allocations: 109.3 MB / 0.6132 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.247, allocations: 79.94 kB / 0.6132 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.02488/0.272, allocations: 3.86 MB / 0.617 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.2721, allocations: 4 kB / 0.617 GB, free: 1.293 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.0008598/0.273, allocations: 0.5438 MB / 0.6175 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2731, allocations: 8.031 kB / 0.6175 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2733, allocations: 27.81 kB / 0.6176 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2734, allocations: 194 kB / 0.6178 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.2735, allocations: 15.98 kB / 0.6178 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.2737, allocations: 12 kB / 0.6178 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001393/0.2739, allocations: 31.88 kB / 0.6178 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.2741, allocations: 105.6 kB / 0.6179 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2742, allocations: 4 kB / 0.6179 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2743, allocations: 3.984 kB / 0.6179 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2744, allocations: 4 kB / 0.6179 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/0.3197, allocations: 315 kB / 0.6182 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.32, allocations: 86.14 kB / 0.6183 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.3201, allocations: 10.39 kB / 0.6183 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3202, allocations: 3.625 kB / 0.6183 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.3206, allocations: 141.2 kB / 0.6185 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 5.588e-06/0.3207, allocations: 0 / 0.6185 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0003941/0.3211, allocations: 141.9 kB / 0.6186 GB, free: 181 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001403/0.3214, allocations: 36.17 kB / 0.6186 GB, free: 181 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3214, allocations: 12.28 kB / 0.6186 GB, free: 181 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.3216, allocations: 254.9 kB / 0.6189 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.3217, allocations: 36.05 kB / 0.6189 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.3218, allocations: 86.91 kB / 0.619 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.3219, allocations: 38.45 kB / 0.619 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.322, allocations: 6.047 kB / 0.619 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.3221, allocations: 325.5 kB / 0.6194 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3223, allocations: 40.67 kB / 0.6194 GB, free: 180.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3226, allocations: 103.3 kB / 0.6195 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3228, allocations: 52.81 kB / 0.6195 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-06/0.3228, allocations: 1.688 kB / 0.6195 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.3234, allocations: 208.1 kB / 0.6197 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3235, allocations: 3.906 kB / 0.6197 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3236, allocations: 7.844 kB / 0.6198 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.286e-06/0.3236, allocations: 0 / 0.6198 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.3239, allocations: 33.17 kB / 0.6198 GB, free: 180.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.3244, allocations: 56.16 kB / 0.6198 GB, free: 180.3 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.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.0002185/0.3247, allocations: 126.5 kB / 0.62 GB, free: 180.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3248, allocations: 20.81 kB / 0.62 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3249, allocations: 10.44 kB / 0.62 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-06/0.325, allocations: 3.938 kB / 0.62 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.3251, allocations: 0 / 0.62 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3251, allocations: 3.875 kB / 0.62 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.3258, allocations: 452.9 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-06/0.3259, allocations: 0 / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.326, allocations: 11.34 kB / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-06/0.3261, allocations: 0 / 0.6204 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.3262, allocations: 13.98 kB / 0.6205 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.981e-06/0.3262, allocations: 3.562 kB / 0.6205 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.492e-06/0.3263, allocations: 0 / 0.6205 GB, free: 179.9 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002687/0.3266, allocations: 231.6 kB / 0.6207 GB, free: 179.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3268, allocations: 133 kB / 0.6208 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.3269, allocations: 10.36 kB / 0.6208 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3272, allocations: 17.2 kB / 0.6208 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.3274, allocations: 18.42 kB / 0.6208 GB, free: 179.6 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 (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.0002374/0.3277, allocations: 135.6 kB / 0.621 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000419/0.3281, allocations: 209.2 kB / 0.6212 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.3282, allocations: 0 / 0.6212 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3284, allocations: 50.98 kB / 0.6212 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3287, allocations: 14.8 kB / 0.6212 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.3293, allocations: 241.5 kB / 0.6215 GB, free: 179.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.3297, allocations: 0.8045 MB / 0.6223 GB, free: 178.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.165e-06/0.3298, allocations: 0 / 0.6223 GB, free: 178.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.04111/0.371, allocations: 4.135 MB / 0.6263 GB, free: 178.3 MB / 0.5137 GB